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