OpenStructure
|
#include <trace_renderer_base.hh>
Inherits EntityRenderer.
Inherited by CartoonRenderer, DebugRenderer, LineTraceRenderer, SlineRenderer, and TraceRenderer.
Public Member Functions | |
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 | 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 String & | GetName () 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 Color & | GetSelectionColor () const |
const Color & | GetSelectionColorOutline () const |
mol::EntityView | GetFullView () |
mol::EntityView | GetEffectiveView () |
virtual void | PrepareRendering ()=0 |
virtual void | Render (RenderPass pass) |
virtual void | RenderPov (PovState &pov, const std::string &name) |
virtual void | Export (Exporter *ex) |
virtual bool | CanSetOptions (RenderOptionsPtr &render_options)=0 |
virtual void | SetOptions (RenderOptionsPtr &render_options)=0 |
virtual RenderOptionsPtr | GetOptions ()=0 |
virtual void | RenderOptionsChanged () |
bool | IsDirty () const |
void | FlagPositionsDirty () |
void | Debug (unsigned int flags) |
IndexedVertexArray & | VA () |
Protected Member Functions | |
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 | |
BackboneTrace * | trace_ |
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_ |
Definition at line 40 of file trace_renderer_base.hh.
TraceRendererBase | ( | BackboneTrace * | trace, |
int | overshoot | ||
) |
|
virtual |
Implements EntityRenderer.
|
virtual |
Implements EntityRenderer.
|
virtual |
Implements EntityRenderer.
|
virtual |
Implements EntityRenderer.
|
virtual |
Implements EntityRenderer.
|
virtual |
Implements EntityRenderer.
Reimplemented in CartoonRenderer.
|
virtual |
Reimplemented from EntityRenderer.
|
virtual |
pick atom
If picked_atom is a valid handle, picked_atom is only replaced if the candidate picked atom is closer to the near clipping plane.
Implements EntityRenderer.
|
virtual |
pick bond
Implements EntityRenderer.
|
virtual |
|
protected |
|
protected |
|
virtual |
update views
Implements EntityRenderer.
|
protected |
Definition at line 73 of file trace_renderer_base.hh.
|
protected |
Definition at line 71 of file trace_renderer_base.hh.
|
protected |
Definition at line 72 of file trace_renderer_base.hh.