|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
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();
boost::shared_ptr< class VolumeProperty > VolumePropertyPtr
Namespace for all CustusX production code.
virtual ~VolumetricBaseRep()
vtkVolumeMapperPtr mMapper
vtkSmartPointer< class vtkVolume > vtkVolumePtr
virtual QString getType() const
vtkSmartPointer< class vtkVolumeMapper > vtkVolumeMapperPtr
boost::shared_ptr< class Image > ImagePtr
static VolumetricRepPtr New(QString uid="")
boost::shared_ptr< class View > ViewPtr
Default implementation of Rep.
boost::shared_ptr< class ImageMapperMonitor > ImageMapperMonitorPtr
long mMaxVoxels
always resample volume below this size.
boost::shared_ptr< class VolumetricRep > VolumetricRepPtr
cx::VolumePropertyPtr mVolumeProperty
cx::ImageMapperMonitorPtr mMonitor
helper object for visualizing clipping/cropping