35 namespace deprecated {
41 for (
int i=0; i<3; i++)
48 const Eigen::Vector3d& lv =
estimate();
49 for (
int i=0; i<3; i++){
56 #ifdef G2O_HAVE_OPENGL 64 _pointSize = _previousParams->makeProperty<
FloatProperty>(_typeName +
"::POINT_SIZE", 1.f);
75 if (
typeid(*element).name()!=_typeName)
78 refreshPropertyPtrs(params);
79 if (! _previousParams)
82 if (_show && !_show->value())
87 glPushAttrib(GL_ENABLE_BIT | GL_POINT_BIT);
88 glDisable(GL_LIGHTING);
89 glColor3f(0.8f,0.5f,0.3f);
91 glPointSize(_pointSize->value());
#define __PRETTY_FUNCTION__
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
Abstract action that operates on a graph entity.
virtual bool write(std::ostream &os) const
write the vertex to a stream
void setEstimate(const EstimateType &et)
set the estimate for the vertex also calls updateCache()
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 ...
const EstimateType & estimate() const
return the current estimate of the vertex
VertexPointXYZWriteGnuplotAction()
virtual bool refreshPropertyPtrs(HyperGraphElementAction::Parameters *params_)