16 #ifndef SURGSIM_GRAPHICS_CYLINDERREPRESENTATION_H 17 #define SURGSIM_GRAPHICS_CYLINDERREPRESENTATION_H 45 virtual void setRadius(
double radius) = 0;
52 virtual void setHeight(
double height) = 0;
60 virtual void setSize(
double radius,
double height) = 0;
64 virtual void getSize(
double* radius,
double* height) = 0;
78 #endif // SURGSIM_GRAPHICS_CYLINDERREPRESENTATION_H Definition: DriveElementFromInputBehavior.cpp:27
string(TOUPPER ${DEVICE}DEVICE_UPPER_CASE) option(BUILD_DEVICE_ $
Definition: CMakeLists.txt:35
#define SURGSIM_ADD_SERIALIZABLE_PROPERTY(class, type, property, getter, setter)
A macro to register a serializable property, this needs to support reading, writing and all the conve...
Definition: Accessible.h:211
virtual void setRadius(double radius)=0
Sets the radius of the cylinder.
virtual void setSize(double radius, double height)=0
Sets the size of the cylinder.
Base graphics representation class, which defines the interface that all graphics representations mus...
Definition: Representation.h:39
Base graphics cylinder representation class, which defines the basic interface for a cylinder that ca...
Definition: CylinderRepresentation.h:31
virtual SurgSim::Math::Vector2d getSize() const =0
Returns the size of the cylinder.
Eigen::Matrix< double, 2, 1 > Vector2d
A 2D vector of doubles.
Definition: Vector.h:52
Definitions of small fixed-size vector types.
CylinderRepresentation(const std::string &name)
Constructor.
Definition: CylinderRepresentation.h:37
virtual void setHeight(double height)=0
Sets the height of the cylinder.
virtual double getHeight() const =0
Returns the height of the cylinder.
virtual double getRadius() const =0
Returns the radius of the cylinder.