opensurgsim
|
Vertex data for testing, storing ID and surface normal. More...
#include <MockObjects.h>
Public Member Functions | |
MockVertexData (size_t id, const SurgSim::Math::Vector3d &normal) | |
Constructor. More... | |
MockVertexData () | |
Constructor. | |
virtual | ~MockVertexData () |
Destructor. | |
size_t | getId () const |
Gets the vertex's unique ID in its mesh. | |
const SurgSim::Math::Vector3d & | getNormal () const |
Gets the vertex surface normal. | |
bool | operator== (const MockVertexData &data) const |
Compare the vertex data to another one (equality) More... | |
Vertex data for testing, storing ID and surface normal.
|
inline |
Constructor.
id | Unique ID of the vertex in its mesh |
normal | Surface normal of the vertex |
|
inline |
Compare the vertex data to another one (equality)
data | The MockVertexData to compare it to |