16 #include "cxResourceExport.h" 22 #include <boost/shared_ptr.hpp> 23 #include <boost/weak_ptr.hpp> 50 mAcquisitionTime(QDateTime()),
51 mSoftwareAcquisitionTime(QDateTime()),
52 mOriginalAcquisitionTime(QDateTime())
56 mSoftwareAcquisitionTime(QDateTime()),
57 mOriginalAcquisitionTime(QDateTime())
59 this->setAcquisitionTime(acquisitionTime);
64 return mAcquisitionTime.toMSecsSinceEpoch();
68 mAcquisitionTime.setMSecsSinceEpoch(mSecsSinceEpoch);
73 return mSoftwareAcquisitionTime.toMSecsSinceEpoch();
77 return mOriginalAcquisitionTime.toMSecsSinceEpoch();
89 class cxResource_EXPORT
Data:
public QObject
93 Data(
const QString& uid,
const QString& name =
"");
96 void setUid(
const QString& uid);
97 void setName(
const QString& name);
98 void setAcquisitionTime(QDateTime time);
99 void setSoftwareAcquisitionTime(QDateTime time);
100 void setOriginalAcquisitionTime(QDateTime time);
101 virtual RegistrationHistoryPtr get_rMd_History();
102 LandmarksPtr getLandmarks();
104 virtual QString getUid()
const;
105 virtual QString getName()
const;
107 virtual QDateTime getAcquisitionTime()
const;
108 virtual TimeInfo getAdvancedTimeInfo()
const;
114 virtual bool isEqual(
DataPtr metric);
116 virtual QString getFilename()
const;
117 virtual void setFilename(QString val);
119 virtual QString getSpace();
120 virtual QString getParentSpace();
122 virtual std::vector<Vector3D> getPointCloud()
const;
124 virtual void addXml(QDomNode& dataNode);
125 virtual void parseXml(QDomNode& dataNode);
135 virtual void addPersistentClipPlane(
vtkPlanePtr plane);
136 virtual std::vector<vtkPlanePtr> getAllClipPlanes();
137 virtual void clearPersistentClipPlanes();
138 virtual void setInteractiveClipPlane(
vtkPlanePtr plane);
141 void removeInteractiveClipPlane(
vtkPlanePtr plane);
143 void transformChanged();
144 void propertiesChanged();
145 void clipPlanesChanged();
169 void addPlane(
vtkPlanePtr plane, std::vector<vtkPlanePtr> &planes);
172 typedef boost::shared_ptr<Data>
DataPtr;
std::vector< vtkPlanePtr > mInteractiveClipPlanes
boost::shared_ptr< class FileManagerService > FileManagerServicePtr
boost::shared_ptr< class RegistrationHistory > RegistrationHistoryPtr
QDateTime mOriginalAcquisitionTime
Original aquisition time (from hardware if possible)
double getSoftwareAcquisitionTime() const
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::weak_ptr< class Rep > RepWeakPtr
boost::shared_ptr< class Landmarks > LandmarksPtr
boost::shared_ptr< class Data > DataPtr
double getScannerAcquisitionTime() const
void setAcquisitionTime(double mSecsSinceEpoch)
virtual QString getType() const
double getAcquisitionTime() const
Identification of a Coordinate system.
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.
QDateTime mSoftwareAcquisitionTime
Time stamp created in at arrival in CX or CX related software.
vtkPlanePtr mInteractiveClipPlane
QDateTime mAcquisitionTime
Possibly modified time stamp.
RegistrationHistoryPtr m_rMd_History
Superclass for all data objects.
virtual void transformChangedSlot()
TimeInfo(double acquisitionTime)
REGISTRATION_STATUS mRegistrationStatus
vtkSmartPointer< class vtkPlane > vtkPlanePtr
Namespace for all CustusX production code.
std::vector< vtkPlanePtr > mPersistentClipPlanes