9 #include "imstkImplicitGeometry.h" 26 void print()
const override;
38 void setPosition(
const double x,
const double y,
const double z);
Base class for any analytical geometrical representation.
Quatd getOrientation(DataType type=DataType::PostTransform)
Get the local or global orientation (post transformed)
void updatePostTransformData() const override
Apply the global transform to the local parameters producing post transformed parameters.
Vec3d getPosition(DataType type=DataType::PostTransform)
Get the local or global position (post transformed)
Quatd m_orientation
orientation
void print() const override
Print.
void setPosition(const Vec3d p)
Set the local position.
void setOrientation(const Quatd r)
Set the local orientation.
Quatd m_orientationPostTransform
orientation once transform is applied
void applyTransform(const Mat4d &m) override
Apply a user transform directly to (pre-transformed) parameters producing new parameters.
Vec3d m_positionPostTransform
position once transform applied
Class that can represent the geometry of multiple implicit geometries as boolean functions One may su...
double getFunctionValue(const Vec3d &imstkNotUsed(pos)) const override
Returns the implicit function value, this could signed, unsigned distance, or some other scalar...
DataType
Enumeration for the data to retrieve PreTransform for data where transform matrix is not applied Po...