33 #ifndef __vtkOpenGLGPUVolumeRayCastMapper_h
34 #define __vtkOpenGLGPUVolumeRayCastMapper_h
42 class vtkUnsupportedRequiredExtensionsStringStream;
43 class vtkMapDataArrayTextureId;
44 class vtkMapMaskTextureId;
50 class vtkOpacityTable;
52 class vtkKWScalarField;
55 class vtkOpacityTables;
83 static const char *OpenGLErrorMessage(
unsigned int errorCode);
87 static void PrintError(
const char *headerMessage);
100 double datasetBounds[6],
101 double scalarRange[2],
102 int numberOfScalarComponents,
103 unsigned int numberOfLevels);
111 int numberOfScalarComponents);
119 const char *extensionName);
163 int textureExtent[6],
172 int UpdateColorTransferFunction(
vtkVolume *vol,
173 int numberOfScalarComponents);
180 int UpdateOpacityTransferFunction(
vtkVolume *vol,
181 int numberOfScalarComponents,
193 double worldBounds[6],
201 int RenderClippedBoundingBox(
int tcoordFlag,
203 size_t numberOfBlocks,
209 void CopyFBOToTexture();
212 void CleanupRender();
219 int PowerOfTwoGreaterOrEqual(
int x);
222 void CheckFrameBufferStatus();
229 void DisplayReadAndDrawBuffers();
232 void DisplayFrameBufferAttachments();
235 void DisplayFrameBufferAttachment(
unsigned int uattachment);
245 int parallelProjection,
248 int componentMethod);
252 void GetLightingStatus();
263 void ComputeReductionFactor(
double allocatedTime);
286 void ComputeNumberOfCroppingRegions();
289 unsigned int *internalFormat,
290 unsigned int *format,
294 bool TestLoadingScalar(
unsigned int internalFormat,
300 void SlabsFromDatasetToIndex(
double slabsDataSet[6],
301 double slabsPoints[6]);
303 void SlabsFromIndexToDataset(
double slabsPoints[6],
304 double slabsDataSet[6]);
306 const char *GetEnabledString(
unsigned char value);
307 void GetOpenGLState();
311 void UpdateNoiseTexture();
318 double ComputeMinimalSampleDistancePerPixel(
vtkRenderer *renderer,
335 double BoundingBox[8][3];
355 unsigned int TextureObjects[5];
381 double TableRange[2];
408 double LoadedBounds[6];