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

#include <by_element_color_op.hh>

Inherits ColorOp.

Public Member Functions

 ByElementColorOp ()
 
 ByElementColorOp (const mol::QueryViewWrapper &query_view, int mask=DETAIL_COLOR|MAIN_COLOR)
 
 ByElementColorOp (const String &selection, int mask=DETAIL_COLOR|MAIN_COLOR)
 
virtual bool CanApplyTo (const GfxObjP &obj) const
 
virtual void ApplyTo (GfxObjP &obj) const
 
- Public Member Functions inherited from ColorOp
 ColorOp ()
 
virtual ~ColorOp ()
 
 ColorOp (const String &selection, int mask=DETAIL_COLOR|MAIN_COLOR)
 
 ColorOp (const mol::QueryViewWrapper &query_view, int mask=DETAIL_COLOR|MAIN_COLOR)
 
virtual const StringGetName () const
 
ColorMask GetMask () const
 
void SetMask (ColorMask mask)
 
virtual void SetSelection (const String &selection)
 
virtual String GetSelection () const
 
virtual void SetSelectionFlags (mol::QueryFlags flags)
 
virtual mol::QueryFlags GetSelectionFlags () const
 
virtual bool IsSelectionOnly () const
 
virtual void SetView (const mol::EntityView &view)
 
virtual mol::EntityView GetView () const
 
virtual void ToInfo (info::InfoGroup &group) const
 

Static Public Member Functions

static ost::gfx::ByElementColorOp FromInfo (info::InfoGroup &group)
 
- Static Public Member Functions inherited from ColorOp
static gfx::ColorOp FromInfo (info::InfoGroup &group)
 

Additional Inherited Members

- Protected Member Functions inherited from ColorOp
virtual void SetName (const String &name)
 

Detailed Description

Definition at line 35 of file by_element_color_op.hh.

Constructor & Destructor Documentation

ByElementColorOp ( const mol::QueryViewWrapper query_view,
int  mask = DETAIL_COLOR|MAIN_COLOR 
)
ByElementColorOp ( const String selection,
int  mask = DETAIL_COLOR|MAIN_COLOR 
)

Member Function Documentation

virtual void ApplyTo ( GfxObjP obj) const
virtual

Reimplemented from ColorOp.

virtual bool CanApplyTo ( const GfxObjP obj) const
virtual

Reimplemented from ColorOp.

static ost::gfx::ByElementColorOp FromInfo ( info::InfoGroup group)
static

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