46 mListener = mSpaceProvider->createListener();
48 connect(
mListener.get(), SIGNAL(changed()),
this, SLOT(changedSlot()));
52 mRep->setShowAxesLabels(
false);
53 mRep->setFontSize(0.08);
54 mRep->setAxisLength(0.03);
61 connect(mBase.get(), SIGNAL(changed()),
this, SLOT(changedSlot()));
68 connect(mTool.get(), SIGNAL(toolVisible(
bool)),
this, SLOT(changedSlot()));
72 void AxisConnector::changedSlot()
75 mRep->setTransform(rMs);
77 mRep->setVisible(
true);
81 mRep->setVisible(mTool->getVisible());
88 mRep->setVisible(
false);
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
static AxesRepPtr New(const QString &uid="")
csREF
the data reference space (r) using LPS (left-posterior-superior) coordinates.
void mergeWith(SpaceListenerPtr base)
SpaceListenerPtr mListener
bool similar(const DoubleBoundingBox3D &a, const DoubleBoundingBox3D &b, double tol)
void connectTo(ToolPtr tool)
Identification of a Coordinate system.
AxisConnector(CoordinateSystem space, SpaceProviderPtr spaceProvider)
cxLogicManager_EXPORT SpaceProviderPtr spaceProvider()
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
boost::shared_ptr< class SpaceListener > SpaceListenerPtr
boost::shared_ptr< class Tool > ToolPtr