30 #ifdef G2O_HAVE_OPENGL 41 for (
int i=0; i<3; i++)
49 for (
int i=0; i<3; i++){
56 #ifdef G2O_HAVE_OPENGL 64 _pointSize = _previousParams->makeProperty<
FloatProperty>(_typeName +
"::POINT_SIZE", 1.);
75 if (
typeid(*element).name()!=_typeName)
77 initializeDrawActionsCache();
78 refreshPropertyPtrs(params);
79 if (! _previousParams)
82 if (_show && !_show->value())
88 glPushAttrib(GL_ENABLE_BIT | GL_POINT_BIT);
89 glDisable(GL_LIGHTING);
91 float ps = _pointSize ? _pointSize->value() : 1.f;
96 drawUserData(that->
userData(), params);
VertexPointXYZWriteGnuplotAction()
#define __PRETTY_FUNCTION__
const Data * userData() const
the user data associated with this vertex
Eigen::Matrix< double, 3, 1, Eigen::ColMajor > Vector3D
Abstract action that operates on a graph entity.
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
CacheContainer * cacheContainer()
#define LANDMARK_VERTEX_COLOR
virtual bool write(std::ostream &os) const
write the vertex to a stream
void drawPoint(float pointSize)
Vertex for a tracked point in space.
void setEstimate(const EstimateType &et)
set the estimate for the vertex also calls updateCache()
const EstimateType & estimate() const
return the current estimate of the vertex
virtual bool refreshPropertyPtrs(HyperGraphElementAction::Parameters *params_)
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 ...