33 #ifdef G2O_HAVE_OPENGL 51 for (
size_t i=0; i<4; i++)
58 for (
size_t i=0; i<4; i++)
78 *(params->
os) << std::endl;
82 #ifdef G2O_HAVE_OPENGL 102 refreshPropertyPtrs(params_);
103 if (! _previousParams)
106 if (_show && !_show->value())
111 glColor3f(0.8f,0.5f,0.3f);
113 glPointSize(_pointSize->value());
#define __PRETTY_FUNCTION__
Abstract action that operates on a graph entity.
Eigen::Matrix< double, 4, 1, Eigen::ColMajor > Vector4D
const std::string & name() const
returns the name of an action, e.g "draw"
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 ...
Vector2D estimateP1() const
Vector2D estimateP2() const
virtual bool refreshPropertyPtrs(HyperGraphElementAction::Parameters *params_)
virtual bool write(std::ostream &os) const
write the vertex to a stream
VertexSegment2DWriteGnuplotAction()
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex