29 #ifdef G2O_HAVE_OPENGL 75 #ifdef G2O_HAVE_OPENGL 94 initializeDrawActionsCache();
95 refreshPropertyPtrs(params);
96 if (! _previousParams)
99 if (_show && !_show->value())
104 glPushAttrib(GL_ENABLE_BIT | GL_POINT_BIT);
105 glDisable(GL_LIGHTING);
107 float ps = _pointSize ? _pointSize->value() : 1.0f;
112 drawUserData(that->
userData(), params);
Eigen::Matrix< double, 2, 1, Eigen::ColMajor > Vector2D
#define __PRETTY_FUNCTION__
const Data * userData() const
the user data associated with this vertex
Abstract action that operates on a graph entity.
CacheContainer * cacheContainer()
#define LANDMARK_VERTEX_COLOR
const std::string & name() const
returns the name of an action, e.g "draw"
void drawPoint(float pointSize)
virtual HyperGraphElementAction * operator()(HyperGraph::HyperGraphElement *element, HyperGraphElementAction::Parameters *params_)
redefine this to do the action stuff. If successful, the action returns a pointer to itself ...
VertexPointXYWriteGnuplotAction()
virtual bool write(std::ostream &os) const
write the vertex to a stream
const EstimateType & estimate() const
return the current estimate of the vertex
virtual bool refreshPropertyPtrs(HyperGraphElementAction::Parameters *params_)
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex