34 #ifndef CXUSFRAMEDATA_H_
35 #define CXUSFRAMEDATA_H_
37 #include "cxResourceExport.h"
70 unsigned char* getFrame(
unsigned int index)
const;
71 Eigen::Array3i getDimensions()
const;
73 std::vector<TimedPosition> getFrames()
const;
76 QString getFilePath();
78 bool validate()
const;
81 std::vector<vtkImageDataPtr> mProcessedImage;
82 std::vector<TimedPosition> mFrames;
114 static USFrameDataPtr create(QString name, std::vector<vtkImageDataPtr> frames);
117 Eigen::Array3i getDimensions()
const;
119 QString getName()
const;
121 unsigned getNumImages();
123 void resetRemovedFrames();
124 void removeFrame(
unsigned int index);
127 void setPurgeInputDataAfterInitialize(
bool value);
133 std::vector<std::vector<vtkImageDataPtr> > initializeFrames(std::vector<bool> angio);
164 #endif // CXUSFRAMEDATA_H_
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