OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
SimpleRenderer Class Reference

#include <simple_renderer.hh>

Inherits ConnectRendererBase.

Public Member Functions

 SimpleRenderer ()
 
virtual void PrepareRendering ()
 
virtual bool CanSetOptions (RenderOptionsPtr &render_options)
 
virtual void SetOptions (RenderOptionsPtr &render_options)
 
virtual RenderOptionsPtr GetOptions ()
 
virtual void RenderPov (PovState &pov, const std::string &name)
 
BondEntryListGetBondEntryList ()
 
- Public Member Functions inherited from ConnectRendererBase
 ConnectRendererBase ()
 
virtual geom::AlignedCuboid GetBoundingBox () const
 
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 Apply (const gfx::MapHandleColorOp &op)
 
virtual void PickBond (const geom::Line3 &line, Real line_width, mol::BondHandle &picked_bond)
 
virtual void UpdateViews ()
 
- Public Member Functions inherited from EntityRenderer
 EntityRenderer ()
 
virtual ~EntityRenderer ()
 
void AddView (const mol::EntityView &view)
 
void SubstractView (const mol::EntityView &view)
 
void ClearViews ()
 
virtual bool HasDataToRender () const
 
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 ConnectRendererBase
void SetFixedPickRadius (float radius)
 
bool HasFixedPickRadius () const
 
float GetFixedPickRadius () const
 
- Protected Member Functions inherited from EntityRenderer
virtual void SetName (const String &name)
 
- Protected Attributes inherited from ConnectRendererBase
float pick_radius_
 
GfxView view_
 
GfxView sel_view_
 
- 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

simple line-based rendererer at full connectivity detail

Definition at line 35 of file simple_renderer.hh.

Constructor & Destructor Documentation

Member Function Documentation

virtual bool CanSetOptions ( RenderOptionsPtr render_options)
virtual

Implements EntityRenderer.

BondEntryList& GetBondEntryList ( )
virtual RenderOptionsPtr GetOptions ( )
virtual

Implements EntityRenderer.

virtual void PrepareRendering ( )
virtual

Reimplemented from ConnectRendererBase.

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

povray rendering call

Reimplemented from EntityRenderer.

virtual void SetOptions ( RenderOptionsPtr render_options)
virtual

Implements EntityRenderer.


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