16 #ifndef SURGSIM_DATASTRUCTURES_VERTEX_H 17 #define SURGSIM_DATASTRUCTURES_VERTEX_H 26 namespace DataStructures
66 position(other.position)
91 return data == vertex.
data && position == vertex.
position;
99 return ! ((*this) == vertex);
130 return ! ((*this) == vertex);
138 #endif // SURGSIM_DATASTRUCTURES_VERTEX_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
SurgSim::Math::Vector3d position
Position of the vertex.
Definition: Vertex.h:82
Vertex< Data > & operator=(const Vertex< T > &other)
Assignment when the template data is a different type In this case, no data will be copied...
Definition: Vertex.h:75
bool operator==(const Vertex< void > &vertex) const
Compare the vertex to another one (equality)
Definition: Vertex.h:120
bool operator==(const Vertex< Data > &vertex) const
Compare the vertex to another one (equality)
Definition: Vertex.h:89
Specialization of Vertex with no data.
Definition: Vertex.h:106
SurgSim::Math::Vector3d position
Position of the vertex.
Definition: Vertex.h:115
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:57
bool operator!=(const Vertex< void > &vertex) const
Compare the vertex to another one (inequality)
Definition: Vertex.h:128
Vertex()
Constructor.
Definition: Vertex.h:47
Vertex structure for meshes.
Definition: Vertex.h:44
Vertex(const Vertex< T > &other)
Copy constructor when the template data is a different type In this case, no data will be copied...
Definition: Vertex.h:65
Vertex(const SurgSim::Math::Vector3d &position, const Data &data=Data())
Constructor.
Definition: Vertex.h:54
Definitions of small fixed-size vector types.
Data data
Extra vertex data.
Definition: Vertex.h:84
Vertex(const SurgSim::Math::Vector3d &position)
Constructor.
Definition: Vertex.h:110
bool operator!=(const Vertex< Data > &vertex) const
Compare the vertex to another one (inequality)
Definition: Vertex.h:97