9 #include "imstkVisualModel.h" 10 #include "imstkMath.h" 24 setDelegateHint(
"AxesModel");
27 const Vec3d& getPosition()
const {
return m_axesPos; }
28 void setPosition(
const Vec3d& axesPos) { m_axesPos = axesPos; }
30 const Quatd& getOrientation()
const {
return m_axesOrientation; }
31 void setOrientation(
const Quatd& axesOrientation) { m_axesOrientation = axesOrientation; }
33 const Vec3d& getScale()
const {
return m_axesScale; }
34 void setScale(
const Vec3d& axesScale) { m_axesScale = axesScale; }
36 bool getAxesLabelsVisible()
const {
return m_axesLabelsVisible; }
37 void setAxesLabelsVisible(
const bool visible) { m_axesLabelsVisible = visible; }
40 Vec3d m_axesPos = Vec3d::Zero();
41 Quatd m_axesOrientation = Quatd::Identity();
42 Vec3d m_axesScale = Vec3d::Ones();
43 bool m_axesLabelsVisible =
false;
Defines an axes that should be rendered.
Contains geometric, material, and render information.