#include <connect_renderer_base.hh>
Inherits ost::gfx::impl::EntityRenderer.
Inherited by CPKRenderer, CustomRenderer, and SimpleRenderer.
Public Member Functions | |
ConnectRendererBase () | |
virtual void | PrepareRendering () |
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 () |
Protected Member Functions | |
void | SetFixedPickRadius (float radius) |
bool | HasFixedPickRadius () const |
float | GetFixedPickRadius () const |
Protected Attributes | |
float | pick_radius_ |
GfxView | view_ |
GfxView | sel_view_ |
Definition at line 34 of file connect_renderer_base.hh.
virtual void Apply | ( | const gfx::MapHandleColorOp & | op | ) | [virtual] |
Implements EntityRenderer.
virtual void Apply | ( | const gfx::EntityViewColorOp & | op | ) | [virtual] |
Implements EntityRenderer.
virtual void Apply | ( | const gfx::GradientLevelColorOp & | op | ) | [virtual] |
Implements EntityRenderer.
virtual void Apply | ( | const gfx::UniformColorOp & | op | ) | [virtual] |
Implements EntityRenderer.
virtual void Apply | ( | const gfx::ByChainColorOp & | op | ) | [virtual] |
Implements EntityRenderer.
virtual void Apply | ( | const gfx::ByElementColorOp & | op | ) | [virtual] |
Implements EntityRenderer.
virtual geom::AlignedCuboid GetBoundingBox | ( | ) | const [virtual] |
Implements EntityRenderer.
float GetFixedPickRadius | ( | ) | const [inline, protected] |
Definition at line 60 of file connect_renderer_base.hh.
bool HasFixedPickRadius | ( | ) | const [inline, protected] |
Definition at line 59 of file connect_renderer_base.hh.
virtual void PickAtom | ( | const geom::Line3 & | line, | |
Real | line_width, | |||
mol::AtomHandle & | picked_atom | |||
) | [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 void PickBond | ( | const geom::Line3 & | line, | |
Real | line_width, | |||
mol::BondHandle & | picked_bond | |||
) | [virtual] |
pick bond
Implements EntityRenderer.
virtual void PrepareRendering | ( | ) | [virtual] |
Implements EntityRenderer.
Reimplemented in CPKRenderer, CustomRenderer, and SimpleRenderer.
void SetFixedPickRadius | ( | float | radius | ) | [inline, protected] |
Definition at line 58 of file connect_renderer_base.hh.
virtual void UpdateViews | ( | ) | [virtual] |
update views
Implements EntityRenderer.
float pick_radius_ [protected] |
Definition at line 63 of file connect_renderer_base.hh.
Definition at line 65 of file connect_renderer_base.hh.
Definition at line 64 of file connect_renderer_base.hh.