g2o
Loading...
Searching...
No Matches
g2o::DrawAction Class Reference

draw actions More...

#include <hyper_graph_action.h>

Inheritance diagram for g2o::DrawAction:
Collaboration diagram for g2o::DrawAction:

Classes

class  Parameters

Public Member Functions

 DrawAction (const std::string &typeName_)
Public Member Functions inherited from g2o::HyperGraphElementAction
 HyperGraphElementAction (const std::string &typeName_="")
virtual HyperGraphElementAction * operator() (HyperGraph::HyperGraphElement *element, Parameters *parameters)
virtual HyperGraphElementAction * operator() (const HyperGraph::HyperGraphElement *element, Parameters *parameters)
virtual ~HyperGraphElementAction ()
const std::string & typeName () const
 returns the typeid name of the action
const std::string & name () const
 returns the name of an action, e.g "draw"
void setTypeName (const std::string &typeName_)
 sets the type on which an action has to operate

Protected Member Functions

virtual bool refreshPropertyPtrs (HyperGraphElementAction::Parameters *params_)
void initializeDrawActionsCache ()
void drawCache (CacheContainer *caches, HyperGraphElementAction::Parameters *params_)
void drawUserData (HyperGraph::Data *data, HyperGraphElementAction::Parameters *params_)

Protected Attributes

Parameters * _previousParams
BoolProperty * _show
HyperGraphElementAction * _cacheDrawActions
Protected Attributes inherited from g2o::HyperGraphElementAction
std::string _typeName
std::string _name

Additional Inherited Members

Public Types inherited from g2o::HyperGraphElementAction
typedef std::shared_ptr< HyperGraphElementAction > HyperGraphElementActionPtr
typedef std::map< std::string, HyperGraphElementActionPtr > ActionMap

Detailed Description

draw actions

Definition at line 201 of file hyper_graph_action.h.

Constructor & Destructor Documentation

◆ DrawAction()

g2o::DrawAction::DrawAction ( const std::string & typeName_)

Member Function Documentation

◆ drawCache()

void g2o::DrawAction::drawCache ( CacheContainer * caches,
HyperGraphElementAction::Parameters * params_ )
protected

Definition at line 242 of file hyper_graph_action.cpp.

◆ drawUserData()

void g2o::DrawAction::drawUserData ( HyperGraph::Data * data,
HyperGraphElementAction::Parameters * params_ )
protected

Definition at line 253 of file hyper_graph_action.cpp.

References _cacheDrawActions.

◆ initializeDrawActionsCache()

void g2o::DrawAction::initializeDrawActionsCache ( )
protected

◆ refreshPropertyPtrs()

bool g2o::DrawAction::refreshPropertyPtrs ( HyperGraphElementAction::Parameters * params_)
protectedvirtual

Member Data Documentation

◆ _cacheDrawActions

HyperGraphElementAction* g2o::DrawAction::_cacheDrawActions
protected

Definition at line 220 of file hyper_graph_action.h.

Referenced by DrawAction(), drawUserData(), and initializeDrawActionsCache().

◆ _previousParams

Parameters* g2o::DrawAction::_previousParams
protected

Definition at line 218 of file hyper_graph_action.h.

Referenced by DrawAction(), and refreshPropertyPtrs().

◆ _show

BoolProperty* g2o::DrawAction::_show
protected

Definition at line 219 of file hyper_graph_action.h.

Referenced by refreshPropertyPtrs().


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