16 #ifndef SURGSIM_GRAPHICS_VECTORFIELD_H 17 #define SURGSIM_GRAPHICS_VECTORFIELD_H 55 return ! (*
this == rhs);
64 #endif // SURGSIM_GRAPHICS_VECTORFIELD_H Definition: CompoundShapeToGraphics.cpp:29
bool operator!=(const VectorFieldData &rhs) const
Compare the vectors and return true if not equal, false if equal.
Definition: VectorField.h:53
A (mathematical) vector is represented as (X,Y,Z) associated with an optional color (R...
Definition: VectorField.h:29
SurgSim::DataStructures::OptionalValue< SurgSim::Math::Vector4d > color
Color (R,G,B,alpha) of the vector (Optional)
Definition: VectorField.h:34
bool operator==(const VectorFieldData &rhs) const
Compare the vectors and return true if equal; Othwise, false.
Definition: VectorField.h:38
Definitions of small fixed-size vector types.
SurgSim::DataStructures::Vertices< VectorFieldData > VectorField
Definition: VectorField.h:59
SurgSim::Math::Vector3d direction
Direction (X,Y,Z) of the vector.
Definition: VectorField.h:32
bool hasValue() const
Query if this object has been assigned a value.
Definition: OptionalValue.h:56
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:57
Base class for mesh structures, handling basic vertex functionality.
Definition: Vertices.h:51
const T & getValue() const
Gets the value.
Definition: OptionalValue.h:78