13 #ifndef CXUSFRAMEDATA_H_ 14 #define CXUSFRAMEDATA_H_ 16 #include "cxResourceExport.h" 49 unsigned char* getFrame(
unsigned int index)
const;
50 Eigen::Array3i getDimensions()
const;
52 std::vector<TimedPosition> getFrames()
const;
55 QString getFilePath();
57 bool validate()
const;
60 std::vector<vtkImageDataPtr> mProcessedImage;
61 std::vector<TimedPosition> mFrames;
90 static USFrameDataPtr create(
ImagePtr inputFrameData);
93 static USFrameDataPtr create(QString name, std::vector<vtkImageDataPtr> frames);
96 Eigen::Array3i getDimensions()
const;
98 QString getName()
const;
100 unsigned getNumImages();
102 void resetRemovedFrames();
103 void removeFrame(
unsigned int index);
106 void setPurgeInputDataAfterInitialize(
bool value);
112 std::vector<std::vector<vtkImageDataPtr> > initializeFrames(std::vector<bool> angio);
114 virtual USFrameDataPtr copy();
143 #endif // CXUSFRAMEDATA_H_ boost::shared_ptr< class FileManagerService > FileManagerServicePtr
cx::ImageDataContainerPtr getImageContainer()
cx::ImageDataContainerPtr mImageContainer
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< class USFrameData > USFrameDataPtr
std::vector< int > mReducedToFull
map from indexes in the reduced volume to the full (original) volume.
IntBoundingBox3D mCropbox
Helper class encapsulating a 2S US data set.
vtkSmartPointer< class vtkImageImport > vtkImageImportPtr
Representation of an integer bounding box in 3D. The data are stored as {xmin,xmax,ymin,ymax,zmin,zmax}, in order to simplify communication with vtk.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
vtkSmartPointer< class vtkImageImport > vtkImageImportPtr
boost::shared_ptr< class ProcessedUSInputData > ProcessedUSInputDataPtr
boost::shared_ptr< class CachedImageDataContainer > CachedImageDataContainerPtr
boost::shared_ptr< class ImageDataContainer > ImageDataContainerPtr
Namespace for all CustusX production code.