34 #ifndef CXTEXTURE3DSLICERPROXY_H_
35 #define CXTEXTURE3DSLICERPROXY_H_
37 #include "cxResourceVisualizationExport.h"
76 virtual void setImages(std::vector<ImagePtr> images) {}
77 virtual std::vector<ImagePtr>
getImages() {
return std::vector<ImagePtr>(); }
91 #if !defined(CX_VTK_OPENGL2) && !defined(WIN32)
113 void setShaderPath(QString shaderFile);
115 void setImages(std::vector<ImagePtr> images);
119 void setTargetSpaceToR();
128 void transformChangedSlot();
129 void updateColorAttributeSlot();
133 void resetGeometryPlane();
134 void updateCoordinates(
int index);
135 QString getTCoordName(
int index);
136 void setColorAttributes(
int i);
137 std::vector<ImagePtr> processImages(std::vector<ImagePtr> images_raw);
140 std::vector<ImagePtr> mImages;
142 bool mTargetSpaceIsR;
151 static const int mMaxImages = 4;
157 class cxResourceVisualization_EXPORT Texture3DSlicerProxyImpl:
public Texture3DSlicerProxy
161 void transformChangedSlot() {}
162 void updateColorAttributeSlot() {}
163 void imageChanged() {}
165 #endif //CX_VTK_OPENGL2
virtual std::vector< ImagePtr > getImages()
SliceProxyPtr getSliceProxy()
virtual SliceProxyPtr getSliceProxy()
vtkSmartPointer< class vtkActor > vtkActorPtr
vtkSmartPointer< class TextureSlicePainter > TextureSlicePainterPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< class vtkRenderWindow > vtkRenderWindowPtr
vtkSmartPointer< class vtkPolyDataAlgorithm > vtkPolyDataAlgorithmPtr
virtual void setImages(std::vector< ImagePtr > images)
virtual vtkActorPtr getActor()
Slice volumes using a SliceProxy.
virtual void setSliceProxy(SliceProxyPtr slicer)
vtkSmartPointer< class vtkPolyData > vtkPolyDataPtr
Helper class for GPU-based slicing.
virtual void setShaderPath(QString shaderFile)
boost::shared_ptr< class Texture3DSlicerProxy > Texture3DSlicerProxyPtr
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.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
std::vector< ImagePtr > getImages()
vtkSmartPointer< class vtkPlaneSource > vtkPlaneSourcePtr
vtkSmartPointer< class vtkPolyDataAlgorithm > vtkPolyDataAlgorithmPtr
vtkSmartPointer< class vtkPainterPolyDataMapper > vtkPainterPolyDataMapperPtr
virtual void setTargetSpaceToR()
virtual void setViewportData(const Transform3D &vpMs, const DoubleBoundingBox3D &vp)
virtual ~Texture3DSlicerProxy()