OpenStructure
Public Member Functions
TraceRenderer Class Reference

#include <trace_renderer.hh>

Inherits TraceRendererBase.

Public Member Functions

 TraceRenderer (BackboneTrace *trace)
 
virtual void PrepareRendering ()
 
virtual void PrepareRendering (BackboneTrace &trace_subset, IndexedVertexArray &va, bool is_sel)
 
virtual void RenderPov (PovState &pov, const std::string &name)
 
virtual bool CanSetOptions (RenderOptionsPtr &render_options)
 
virtual void SetOptions (RenderOptionsPtr &render_options)
 
virtual RenderOptionsPtr GetOptions ()
 
virtual ~TraceRenderer ()
 
- Public Member Functions inherited from TraceRendererBase
 TraceRendererBase (BackboneTrace *trace, int overshoot)
 
virtual geom::AlignedCuboid GetBoundingBox () const
 
virtual void PrepareRendering (bool twist_hack)
 
virtual bool HasDataToRender () const
 
virtual void UpdateViews ()
 
virtual void Apply (const gfx::ByElementColorOp &op)
 
virtual void Apply (const gfx::ByChainColorOp &op)
 
virtual void Apply (const gfx::UniformColorOp &op)
 
virtual void Apply (const gfx::GradientLevelColorOp &op)
 
virtual void Apply (const gfx::EntityViewColorOp &op)
 
virtual void Apply (const gfx::MapHandleColorOp &op)
 
virtual void PickAtom (const geom::Line3 &line, Real line_width, mol::AtomHandle &picked_atom)
 
virtual void PickBond (const geom::Line3 &line, Real line_width, mol::BondHandle &picked_bond)
 
- Public Member Functions inherited from EntityRenderer
 EntityRenderer ()
 
virtual ~EntityRenderer ()
 
void AddView (const mol::EntityView &view)
 
void SubstractView (const mol::EntityView &view)
 
void ClearViews ()
 
virtual const StringGetName () const
 
void SetEnabled (bool enabled=true)
 
bool IsEnabled () const
 
bool HasSelection () const
 
void SetSelection (const mol::EntityView &sel)
 
void SetVisible (const mol::EntityView &view, bool visible)
 
const ColorGetSelectionColor () const
 
const ColorGetSelectionColorOutline () const
 
mol::EntityView GetFullView ()
 
mol::EntityView GetEffectiveView ()
 
virtual void Render (RenderPass pass)
 
virtual void Export (Exporter *ex)
 
virtual void RenderOptionsChanged ()
 
bool IsDirty () const
 
void FlagPositionsDirty ()
 
void Debug (unsigned int flags)
 
IndexedVertexArrayVA ()
 

Additional Inherited Members

- Protected Member Functions inherited from TraceRendererBase
void set_node_colors (const Color &c, const mol::Query &q, ColorMask mask)
 
void rebuild_sel (const SplineEntryListList &spline_list_list, SplineEntryListList &sel_spline_list_list, const Color &sel_color)
 
- Protected Member Functions inherited from EntityRenderer
virtual void SetName (const String &name)
 
- Protected Attributes inherited from TraceRendererBase
BackboneTracetrace_
 
BackboneTrace trace_subset_
 
BackboneTrace sel_subset_
 
- Protected Attributes inherited from EntityRenderer
String name_
 
bool enabled_
 
mol::EntityView full_view_
 
mol::EntityView effective_view_
 
mol::EntityView hidden_view_
 
IndexedVertexArray va_
 
mol::EntityView sel_
 
mol::EntityView full_sel_
 
IndexedVertexArray sel_va_
 
DirtyFlags sel_state_
 
DirtyFlags state_
 
unsigned int debug_flags_
 
float opacity_
 

Detailed Description

render backbone trace of entity

Definition at line 39 of file trace_renderer.hh.

Constructor & Destructor Documentation

◆ TraceRenderer()

◆ ~TraceRenderer()

virtual ~TraceRenderer ( )
virtual

Member Function Documentation

◆ CanSetOptions()

virtual bool CanSetOptions ( RenderOptionsPtr render_options)
virtual

Implements EntityRenderer.

◆ GetOptions()

virtual RenderOptionsPtr GetOptions ( )
virtual

Implements EntityRenderer.

◆ PrepareRendering() [1/2]

virtual void PrepareRendering ( )
virtual

Implements EntityRenderer.

◆ PrepareRendering() [2/2]

virtual void PrepareRendering ( BackboneTrace trace_subset,
IndexedVertexArray va,
bool  is_sel 
)
virtual

◆ RenderPov()

virtual void RenderPov ( PovState pov,
const std::string &  name 
)
virtual

povray rendering call

Reimplemented from EntityRenderer.

◆ SetOptions()

virtual void SetOptions ( RenderOptionsPtr render_options)
virtual

Implements EntityRenderer.


The documentation for this class was generated from the following file: