31 #ifndef __vtkImageMapper3D_h
32 #define __vtkImageMapper3D_h
46 class vtkImageToImageMapper3DFriendship;
74 vtkSetMacro(Border,
int);
75 vtkBooleanMacro(Border,
int);
76 vtkGetMacro(Border,
int);
93 vtkSetMacro(SliceAtFocalPoint,
int);
94 vtkBooleanMacro(SliceAtFocalPoint,
int);
95 vtkGetMacro(SliceAtFocalPoint,
int);
102 vtkSetMacro(SliceFacesCamera,
int);
103 vtkBooleanMacro(SliceFacesCamera,
int);
104 vtkGetMacro(SliceFacesCamera,
int);
113 vtkGetObjectMacro(SlicePlane,
vtkPlane);
120 virtual void GetSlicePlaneInDataCoords(
vtkMatrix4x4 *propMatrix,
126 vtkSetClampMacro(NumberOfThreads,
int, 1, VTK_MAX_THREADS);
127 vtkGetMacro(NumberOfThreads,
int);
150 static void CheckerboardRGBA(
151 unsigned char *
data,
int xsize,
int ysize,
152 double originx,
double originy,
double spacingx,
double spacingy);
159 unsigned char *MakeTextureData(
161 int &xsize,
int &ysize,
int &bytesPerPixel,
bool &reuseTexture,
168 void MakeTextureGeometry(
169 const int extent[6],
double coords[12],
double tcoords[8]);
178 virtual void ComputeTextureSize(
179 const int extent[6],
int &xdim,
int &ydim,
180 int imageSize[2],
int textureSize[2]);
210 double DataSpacing[3];
211 double DataOrigin[3];
212 int DataWholeExtent[6];
230 friend class vtkImageToImageMapper3DFriendship;