42 DataMetric(uid, name, dataManager, spaceProvider),
75 return mFrame.coord(point_t);
124 std::stringstream stream;
125 mFrame.put(stream, 0,
' ');
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
QString qstring_cast(const T &val)
virtual void setFrame(const Transform3D &qMt)
virtual Vector3D getCoordinate() const
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
virtual QString getParentSpace()
void transformChanged()
emitted when transform is changed
virtual void setSpace(CoordinateSystem space)
csREF
the data reference space (r) using LPS (left-posterior-superior) coordinates.
QString matrixAsSingleLineString() const
SpaceProviderPtr mSpaceProvider
SpaceListenerPtr mSpaceListener
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Identification of a Coordinate system.
FrameMetricBase(const QString &uid, const QString &name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider)
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,xmax,ymin,ymax,zmin,zmax}, in order to simplify communication with vtk.
virtual CoordinateSystem getSpace() const
cxLogicManager_EXPORT SpaceProviderPtr spaceProvider()
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
virtual Vector3D getRefCoord() const
as getRefFrame, but coord only.
virtual Transform3D getRefFrame() const
return frame described in ref space r : rFt = rMq * qFt
virtual DoubleBoundingBox3D boundingBox() const
Base class for all Data Metrics.
virtual Transform3D getFrame()
virtual ~FrameMetricBase()
Transform3D mFrame
frame qFt described in local space q = mSpace