13 #ifndef CXVOLUMETRICREP_H_ 14 #define CXVOLUMETRICREP_H_ 16 #include "cxResourceVisualizationExport.h" 48 virtual void setImage(
ImagePtr image) = 0;
50 virtual bool hasImage(
ImagePtr image)
const = 0;
53 virtual void setMaxVolumeSize(
long maxVoxels) = 0;
76 virtual QString
getType()
const {
return "VolumetricRep"; }
77 virtual void setImage(
ImagePtr image);
79 virtual bool hasImage(
ImagePtr image)
const;
81 void setMaxVolumeSize(
long maxVoxels);
82 void setUseGPUVolumeRayCastMapper();
83 void setUseVolumeTextureMapper();
87 virtual void addRepActorsToViewRenderer(
ViewPtr view);
88 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
99 void transformChangedSlot();
100 void vtkImageDataChangedSlot();
101 void updateVtkImageDataSlot();
vtkSmartPointer< class vtkVolume > vtkVolumePtr
vtkVolumeMapperPtr mMapper
boost::shared_ptr< class Image > ImagePtr
long mMaxVoxels
always resample volume below this size.
boost::shared_ptr< class View > ViewPtr
cx::VolumePropertyPtr mVolumeProperty
boost::shared_ptr< class ImageMapperMonitor > ImageMapperMonitorPtr
Default implementation of Rep.
vtkSmartPointer< class vtkVolumeMapper > vtkVolumeMapperPtr
virtual vtkVolumePtr getVtkVolume()
get the images vtkVolume
virtual QString getType() const
boost::shared_ptr< class VolumeProperty > VolumePropertyPtr
virtual ~VolumetricBaseRep()
static VolumetricRepPtr New(QString uid="")
boost::shared_ptr< class VolumetricRep > VolumetricRepPtr
cx::ImageMapperMonitorPtr mMonitor
helper object for visualizing clipping/cropping
Namespace for all CustusX production code.