Go to the documentation of this file.
16 #ifndef SURGSIM_GRAPHICS_VECTORFIELDREPRESENTATION_H
17 #define SURGSIM_GRAPHICS_VECTORFIELDREPRESENTATION_H
46 virtual std::shared_ptr<SurgSim::Graphics::VectorField>
getVectorField()
const = 0;
61 virtual void setScale(
double scale) = 0;
77 #endif // SURGSIM_GRAPHICS_VECTORFIELDREPRESENTATION_H
virtual void updateVectorField(const SurgSim::Graphics::VectorField &vectorfield)=0
Updates the vector field in a threadsafe manner.
VectorFieldRepresentation(const std::string &name)
Constructor.
Definition: VectorFieldRepresentation.h:35
Base class for mesh structures, handling basic vertex functionality.
Definition: Vertices.h:51
virtual ~VectorFieldRepresentation()
Destructor.
Definition: VectorFieldRepresentation.h:40
virtual void setScale(double scale)=0
Sets the scale to be applied to all vectors.
Graphic representation of a vector field Each point/location, i.e.
Definition: VectorFieldRepresentation.h:30
Definition: CompoundShapeToGraphics.cpp:29
virtual double getLineWidth() const =0
Gets line width.
virtual std::shared_ptr< SurgSim::Graphics::VectorField > getVectorField() const =0
Gets the vector field.
virtual void setLineWidth(double width)=0
Sets vector line width.
virtual double getScale() const =0
Gets the scale applied to all vectors.
virtual double getPointSize() const =0
Gets the size of starting point of a vector.
virtual void setPointSize(double size)=0
Sets the size of point indicating the starting of vector.
Base graphics representation class, which defines the interface that all graphics representations mus...
Definition: Representation.h:39
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38