29 #ifndef __vtkOpenGLGPUVolumeRayCastMapper_h
30 #define __vtkOpenGLGPUVolumeRayCastMapper_h
38 class vtkUnsupportedRequiredExtensionsStringStream;
39 class vtkMapDataArrayTextureId;
40 class vtkMapMaskTextureId;
46 class vtkOpacityTable;
48 class vtkKWScalarField;
51 class vtkOpacityTables;
79 static const char *OpenGLErrorMessage(
unsigned int errorCode);
83 static void PrintError(
const char *headerMessage);
96 double datasetBounds[6],
97 double scalarRange[2],
98 int numberOfScalarComponents,
99 unsigned int numberOfLevels);
107 int numberOfScalarComponents);
115 const char *extensionName);
159 int textureExtent[6],
168 int UpdateColorTransferFunction(
vtkVolume *vol,
169 int numberOfScalarComponents);
175 int UpdateOpacityTransferFunction(
vtkVolume *vol,
176 int numberOfScalarComponents,
188 double worldBounds[6],
196 int RenderClippedBoundingBox(
int tcoordFlag,
198 size_t numberOfBlocks,
204 void CopyFBOToTexture();
207 void CleanupRender();
214 int PowerOfTwoGreaterOrEqual(
int x);
217 void CheckFrameBufferStatus();
224 void DisplayReadAndDrawBuffers();
227 void DisplayFrameBufferAttachments();
230 void DisplayFrameBufferAttachment(
unsigned int uattachment);
240 int parallelProjection,
243 int componentMethod);
247 void GetLightingStatus();
258 void ComputeReductionFactor(
double allocatedTime);
281 void ComputeNumberOfCroppingRegions();
284 unsigned int *internalFormat,
285 unsigned int *format,
289 bool TestLoadingScalar(
unsigned int internalFormat,
295 void SlabsFromDatasetToIndex(
double slabsDataSet[6],
296 double slabsPoints[6]);
298 void SlabsFromIndexToDataset(
double slabsPoints[6],
299 double slabsDataSet[6]);
301 const char *GetEnabledString(
unsigned char value);
302 void GetOpenGLState();
306 void UpdateNoiseTexture();
313 double ComputeMinimalSampleDistancePerPixel(
vtkRenderer *renderer,
330 double BoundingBox[8][3];
350 unsigned int TextureObjects[5];
376 double TableRange[2];
403 double LoadedBounds[6];