VTK  9.5.2
vtkFixedPointVolumeRayCastMapper.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
98
99#ifndef vtkFixedPointVolumeRayCastMapper_h
100#define vtkFixedPointVolumeRayCastMapper_h
101
102#include "vtkRenderingVolumeModule.h" // For export macro
103#include "vtkThreads.h" // for VTK_THREAD_RETURN_TYPE
104#include "vtkVolumeMapper.h"
105
106#define VTKKW_FP_SHIFT 15
107#define VTKKW_FPMM_SHIFT 17
108#define VTKKW_FP_MASK 0x7fff
109#define VTKKW_FP_SCALE 32767.0
110
111VTK_ABI_NAMESPACE_BEGIN
112class vtkMatrix4x4;
113class vtkMultiThreader;
115class vtkRenderer;
116class vtkTimerLog;
117class vtkVolume;
118class vtkTransform;
119class vtkRenderWindow;
133class vtkDataArray;
134
135// Forward declaration needed for use by friend declaration below.
136VTK_THREAD_RETURN_TYPE FixedPointVolumeRayCastMapper_CastRays(void* arg);
137VTK_THREAD_RETURN_TYPE vtkFPVRCMSwitchOnDataType(void* arg);
138
139class VTKRENDERINGVOLUME_EXPORT vtkFixedPointVolumeRayCastMapper : public vtkVolumeMapper
140{
141public:
144 void PrintSelf(ostream& os, vtkIndent indent) override;
145
147
152 vtkSetMacro(SampleDistance, float);
153 vtkGetMacro(SampleDistance, float);
155
157
164 vtkSetMacro(InteractiveSampleDistance, float);
165 vtkGetMacro(InteractiveSampleDistance, float);
167
169
176 vtkSetClampMacro(ImageSampleDistance, float, 0.1f, 100.0f);
177 vtkGetMacro(ImageSampleDistance, float);
179
181
185 vtkSetClampMacro(MinimumImageSampleDistance, float, 0.1f, 100.0f);
186 vtkGetMacro(MinimumImageSampleDistance, float);
188
190
194 vtkSetClampMacro(MaximumImageSampleDistance, float, 0.1f, 100.0f);
195 vtkGetMacro(MaximumImageSampleDistance, float);
197
199
208 vtkSetClampMacro(AutoAdjustSampleDistances, vtkTypeBool, 0, 1);
212
214
226
228
233 void SetNumberOfThreads(int num);
236
238
246
248
255 float ComputeRequiredImageSampleDistance(float desiredTime, vtkRenderer* ren);
256 float ComputeRequiredImageSampleDistance(float desiredTime, vtkRenderer* ren, vtkVolume* vol);
258
263 void Render(vtkRenderer*, vtkVolume*) override;
264
265 unsigned int ToFixedPointPosition(float val);
266 void ToFixedPointPosition(float in[3], unsigned int out[3]);
267 unsigned int ToFixedPointDirection(float dir);
268 void ToFixedPointDirection(float in[3], unsigned int out[3]);
269 void FixedPointIncrement(unsigned int position[3], unsigned int increment[3]);
270 void GetFloatTripleFromPointer(float v[3], float* ptr);
271 void GetUIntTripleFromPointer(unsigned int v[3], unsigned int* ptr);
272 void ShiftVectorDown(unsigned int in[3], unsigned int out[3]);
273 int CheckMinMaxVolumeFlag(unsigned int pos[3], int c);
274 int CheckMIPMinMaxVolumeFlag(unsigned int pos[3], int c, unsigned short maxIdx, int flip);
275
276 void LookupColorUC(unsigned short* colorTable, unsigned short* scalarOpacityTable,
277 unsigned short index, unsigned char color[4]);
278 void LookupDependentColorUC(unsigned short* colorTable, unsigned short* scalarOpacityTable,
279 unsigned short index[4], int components, unsigned char color[4]);
280 void LookupAndCombineIndependentColorsUC(unsigned short* colorTable[4],
281 unsigned short* scalarOpacityTable[4], unsigned short index[4], float weights[4],
282 int components, unsigned char color[4]);
283 int CheckIfCropped(unsigned int pos[3]);
284
285 vtkGetObjectMacro(RenderWindow, vtkRenderWindow);
291 vtkGetVectorMacro(TableShift, float, 4);
292 vtkGetVectorMacro(TableScale, float, 4);
293 vtkGetMacro(ShadingRequired, int);
294 vtkGetMacro(GradientOpacityRequired, int);
295
296 vtkGetObjectMacro(CurrentScalars, vtkDataArray);
297 vtkGetObjectMacro(PreviousScalars, vtkDataArray);
298
299 int* GetRowBounds() { return this->RowBounds; }
300 unsigned short* GetColorTable(int c) { return this->ColorTable[c]; }
301 unsigned short* GetScalarOpacityTable(int c) { return this->ScalarOpacityTable[c]; }
302 unsigned short* GetGradientOpacityTable(int c) { return this->GradientOpacityTable[c]; }
303 vtkVolume* GetVolume() { return this->Volume; }
304 unsigned short** GetGradientNormal() { return this->GradientNormal; }
305 unsigned char** GetGradientMagnitude() { return this->GradientMagnitude; }
306 unsigned short* GetDiffuseShadingTable(int c) { return this->DiffuseShadingTable[c]; }
307 unsigned short* GetSpecularShadingTable(int c) { return this->SpecularShadingTable[c]; }
308
310 int x, int y, unsigned int pos[3], unsigned int dir[3], unsigned int* numSteps);
311
313
315
317
325
326 int PerImageInitialization(vtkRenderer*, vtkVolume*, int, double*, double*, int*);
332
333 void CreateCanonicalView(vtkVolume* volume, vtkImageData* image, int blend_mode,
334 double viewDirection[3], double viewUp[3]);
335
343 {
344 return this->RetrieveRenderTime(ren, vol);
345 }
346 float GetEstimatedRenderTime(vtkRenderer* ren) { return this->RetrieveRenderTime(ren); }
347
349
362 vtkSetMacro(FinalColorWindow, float);
363 vtkGetMacro(FinalColorWindow, float);
364 vtkSetMacro(FinalColorLevel, float);
365 vtkGetMacro(FinalColorLevel, float);
367
368 // Here to be used by the mapper to tell the helper
369 // to flip the MIP comparison in order to support
370 // minimum intensity blending
371 vtkGetMacro(FlipMIPComparison, int);
372
380
381protected:
384
385 // The helper class that displays the image
387
388 // The distance between sample points along the ray
391
392 // The distance between rays in the image
398
399 // Saved values used to restore
402
403 // Internal method for computing matrices needed during
404 // ray casting
405 void ComputeMatrices(double inputOrigin[3], double inputSpacing[3], int inputExtent[6],
406 vtkRenderer* ren, vtkVolume* vol);
407
408 int ComputeRowBounds(vtkRenderer* ren, int imageFlag, int rowBoundsFlag, int inputExtent[6]);
409
411
412 friend VTK_THREAD_RETURN_TYPE FixedPointVolumeRayCastMapper_CastRays(void* arg);
413 friend VTK_THREAD_RETURN_TYPE vtkFPVRCMSwitchOnDataType(void* arg);
414
416
423
425
429
430 // This object encapsulated the image and all related information
432
435
441
442 void StoreRenderTime(vtkRenderer* ren, vtkVolume* vol, float t);
445
447
449
459
462
464
465 unsigned short ColorTable[4][32768 * 3];
466 unsigned short ScalarOpacityTable[4][32768];
467 unsigned short GradientOpacityTable[4][256];
468 int TableSize[4];
469 float TableScale[4];
470 float TableShift[4];
471
474
475 unsigned short** GradientNormal;
476 unsigned char** GradientMagnitude;
479
481
483
485
487
488 unsigned short DiffuseShadingTable[4][65536 * 3];
489 unsigned short SpecularShadingTable[4][65536 * 3];
490
493
496
499
501 double rayStart[3], double rayEnd[3], float rayDirection[3], double bounds[6]);
502
507
509
511 double rayStart[3], double rayEnd[3], int numClippingPlanes, float* clippingPlanes);
512
514 unsigned int CroppingRegionMask[27];
515
516 // Get the ZBuffer value corresponding to location (x,y) where (x,y)
517 // are indexing into the ImageInUse image. This must be converted to
518 // the zbuffer image coordinates. Nearest neighbor value is returned.
519 float GetZBufferValue(int x, int y);
520
526
527 // Some variables used for ray computation
531
532 double CroppingBounds[6];
533
536
537 double SavedSpacing[3];
538
539 // Min Max structure used to do space leaping
540 unsigned short* MinMaxVolume;
545
547 void FillInMaxGradientMagnitudes(int fullDim[3], int smallDim[3]);
548
551
553
555
556private:
558 void operator=(const vtkFixedPointVolumeRayCastMapper&) = delete;
559
560 bool ThreadWarning;
561};
562
564{
565 return static_cast<unsigned int>(val * VTKKW_FP_SCALE + 0.5);
566}
567
568inline void vtkFixedPointVolumeRayCastMapper::ToFixedPointPosition(float in[3], unsigned int out[3])
569{
570 out[0] = static_cast<unsigned int>(in[0] * VTKKW_FP_SCALE + 0.5);
571 out[1] = static_cast<unsigned int>(in[1] * VTKKW_FP_SCALE + 0.5);
572 out[2] = static_cast<unsigned int>(in[2] * VTKKW_FP_SCALE + 0.5);
573}
574
576{
577 return ((dir < 0.0) ? (static_cast<unsigned int>(-dir * VTKKW_FP_SCALE + 0.5))
578 : (0x80000000 + static_cast<unsigned int>(dir * VTKKW_FP_SCALE + 0.5)));
579}
580
582 float in[3], unsigned int out[3])
583{
584 out[0] = ((in[0] < 0.0) ? (static_cast<unsigned int>(-in[0] * VTKKW_FP_SCALE + 0.5))
585 : (0x80000000 + static_cast<unsigned int>(in[0] * VTKKW_FP_SCALE + 0.5)));
586 out[1] = ((in[1] < 0.0) ? (static_cast<unsigned int>(-in[1] * VTKKW_FP_SCALE + 0.5))
587 : (0x80000000 + static_cast<unsigned int>(in[1] * VTKKW_FP_SCALE + 0.5)));
588 out[2] = ((in[2] < 0.0) ? (static_cast<unsigned int>(-in[2] * VTKKW_FP_SCALE + 0.5))
589 : (0x80000000 + static_cast<unsigned int>(in[2] * VTKKW_FP_SCALE + 0.5)));
590}
591
593 unsigned int position[3], unsigned int increment[3])
594{
595 if (increment[0] & 0x80000000)
596 {
597 position[0] += (increment[0] & 0x7fffffff);
598 }
599 else
600 {
601 position[0] -= increment[0];
602 }
603 if (increment[1] & 0x80000000)
604 {
605 position[1] += (increment[1] & 0x7fffffff);
606 }
607 else
608 {
609 position[1] -= increment[1];
610 }
611 if (increment[2] & 0x80000000)
612 {
613 position[2] += (increment[2] & 0x7fffffff);
614 }
615 else
616 {
617 position[2] -= increment[2];
618 }
619}
620
622{
623 v[0] = *(ptr);
624 v[1] = *(ptr + 1);
625 v[2] = *(ptr + 2);
626}
627
629 unsigned int v[3], unsigned int* ptr)
630{
631 v[0] = *(ptr);
632 v[1] = *(ptr + 1);
633 v[2] = *(ptr + 2);
634}
635
637 unsigned int in[3], unsigned int out[3])
638{
639 out[0] = in[0] >> VTKKW_FP_SHIFT;
640 out[1] = in[1] >> VTKKW_FP_SHIFT;
641 out[2] = in[2] >> VTKKW_FP_SHIFT;
642}
643
644inline int vtkFixedPointVolumeRayCastMapper::CheckMinMaxVolumeFlag(unsigned int mmpos[3], int c)
645{
646 vtkIdType offset = static_cast<vtkIdType>(this->MinMaxVolumeSize[3]) *
647 (mmpos[2] * static_cast<vtkIdType>(this->MinMaxVolumeSize[0] * this->MinMaxVolumeSize[1]) +
648 mmpos[1] * static_cast<vtkIdType>(this->MinMaxVolumeSize[0]) + mmpos[0]) +
649 static_cast<vtkIdType>(c);
650
651 return ((*(this->MinMaxVolume + 3 * offset + 2)) & 0x00ff);
652}
653
655 unsigned int mmpos[3], int c, unsigned short maxIdx, int flip)
656{
657 vtkIdType offset = static_cast<vtkIdType>(this->MinMaxVolumeSize[3]) *
658 (mmpos[2] * static_cast<vtkIdType>(this->MinMaxVolumeSize[0] * this->MinMaxVolumeSize[1]) +
659 mmpos[1] * static_cast<vtkIdType>(this->MinMaxVolumeSize[0]) + mmpos[0]) +
660 static_cast<vtkIdType>(c);
661
662 if ((*(this->MinMaxVolume + 3 * offset + 2) & 0x00ff))
663 {
664 if (flip)
665 {
666 return (*(this->MinMaxVolume + 3 * offset) < maxIdx);
667 }
668 else
669 {
670 return (*(this->MinMaxVolume + 3 * offset + 1) > maxIdx);
671 }
672 }
673 else
674 {
675 return 0;
676 }
677}
678
679inline void vtkFixedPointVolumeRayCastMapper::LookupColorUC(unsigned short* colorTable,
680 unsigned short* scalarOpacityTable, unsigned short index, unsigned char color[4])
681{
682 unsigned short alpha = scalarOpacityTable[index];
683 color[0] = static_cast<unsigned char>(
684 (colorTable[3 * index] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
685 color[1] = static_cast<unsigned char>(
686 (colorTable[3 * index + 1] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
687 color[2] = static_cast<unsigned char>(
688 (colorTable[3 * index + 2] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
689 color[3] = static_cast<unsigned char>(alpha >> (VTKKW_FP_SHIFT - 8));
690}
691
692inline void vtkFixedPointVolumeRayCastMapper::LookupDependentColorUC(unsigned short* colorTable,
693 unsigned short* scalarOpacityTable, unsigned short index[4], int components,
694 unsigned char color[4])
695{
696 unsigned short alpha;
697 switch (components)
698 {
699 case 2:
700 alpha = scalarOpacityTable[index[1]];
701 color[0] = static_cast<unsigned char>(
702 (colorTable[3 * index[0]] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
703 color[1] = static_cast<unsigned char>(
704 (colorTable[3 * index[0] + 1] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
705 color[2] = static_cast<unsigned char>(
706 (colorTable[3 * index[0] + 2] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
707 color[3] = static_cast<unsigned char>(alpha >> (VTKKW_FP_SHIFT - 8));
708 break;
709 case 4:
710 alpha = scalarOpacityTable[index[3]];
711 color[0] = static_cast<unsigned char>((index[0] * alpha + 0x7fff) >> VTKKW_FP_SHIFT);
712 color[1] = static_cast<unsigned char>((index[1] * alpha + 0x7fff) >> VTKKW_FP_SHIFT);
713 color[2] = static_cast<unsigned char>((index[2] * alpha + 0x7fff) >> VTKKW_FP_SHIFT);
714 color[3] = static_cast<unsigned char>(alpha >> (VTKKW_FP_SHIFT - 8));
715 break;
716 }
717}
718
720 unsigned short* colorTable[4], unsigned short* scalarOpacityTable[4], unsigned short index[4],
721 float weights[4], int components, unsigned char color[4])
722{
723 unsigned int tmp[4] = { 0, 0, 0, 0 };
724
725 for (int i = 0; i < components; i++)
726 {
727 unsigned short alpha =
728 static_cast<unsigned short>(static_cast<float>(scalarOpacityTable[i][index[i]]) * weights[i]);
729 tmp[0] += static_cast<unsigned char>(
730 ((colorTable[i][3 * index[i]]) * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
731 tmp[1] += static_cast<unsigned char>(
732 ((colorTable[i][3 * index[i] + 1]) * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
733 tmp[2] += static_cast<unsigned char>(
734 ((colorTable[i][3 * index[i] + 2]) * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
735 tmp[3] += static_cast<unsigned char>(alpha >> (VTKKW_FP_SHIFT - 8));
736 }
737
738 color[0] = static_cast<unsigned char>((tmp[0] > 255) ? (255) : (tmp[0]));
739 color[1] = static_cast<unsigned char>((tmp[1] > 255) ? (255) : (tmp[1]));
740 color[2] = static_cast<unsigned char>((tmp[2] > 255) ? (255) : (tmp[2]));
741 color[3] = static_cast<unsigned char>((tmp[3] > 255) ? (255) : (tmp[3]));
742}
743
745{
746 int idx;
747
748 if (pos[2] < this->FixedPointCroppingRegionPlanes[4])
749 {
750 idx = 0;
751 }
752 else if (pos[2] > this->FixedPointCroppingRegionPlanes[5])
753 {
754 idx = 18;
755 }
756 else
757 {
758 idx = 9;
759 }
760
761 if (pos[1] >= this->FixedPointCroppingRegionPlanes[2])
762 {
763 if (pos[1] > this->FixedPointCroppingRegionPlanes[3])
764 {
765 idx += 6;
766 }
767 else
768 {
769 idx += 3;
770 }
771 }
772
773 if (pos[0] >= this->FixedPointCroppingRegionPlanes[0])
774 {
775 if (pos[0] > this->FixedPointCroppingRegionPlanes[1])
776 {
777 idx += 2;
778 }
779 else
780 {
781 idx += 1;
782 }
783 }
784
785 return !(static_cast<unsigned int>(this->CroppingRegionFlags) & this->CroppingRegionMask[idx]);
786}
787
788VTK_ABI_NAMESPACE_END
789#endif
Defines a transfer function for mapping a property to an RGB color value.
encode a direction into a one or two byte value
Compute shading tables for encoded normals.
Use finite differences to estimate gradient.
helper class for a ray cast image
A helper that generates composite images for the volume ray cast mapper.
A helper that generates composite images for the volume ray cast mapper.
A helper that generates composite images for the volume ray cast mapper.
A helper that generates composite images for the volume ray cast mapper.
A helper that generates MIP images for the volume ray cast mapper.
void SetRayCastImage(vtkFixedPointRayCastImage *)
Set / Get the underlying image object.
vtkRayCastImageDisplayHelper * ImageDisplayHelper
vtkFixedPointVolumeRayCastMIPHelper * MIPHelper
vtkFixedPointVolumeRayCastCompositeGOHelper * CompositeGOHelper
int ShouldUseNearestNeighborInterpolation(vtkVolume *vol)
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
float RetrieveRenderTime(vtkRenderer *ren)
void GetFloatTripleFromPointer(float v[3], float *ptr)
void CaptureZBuffer(vtkRenderer *ren)
float ComputeRequiredImageSampleDistance(float desiredTime, vtkRenderer *ren)
What is the image sample distance required to achieve the desired time?
void ComputeRayInfo(int x, int y, unsigned int pos[3], unsigned int dir[3], unsigned int *numSteps)
vtkFixedPointVolumeRayCastCompositeShadeHelper * CompositeShadeHelper
void StoreRenderTime(vtkRenderer *ren, vtkVolume *vol, float t)
vtkFiniteDifferenceGradientEstimator * GradientEstimator
vtkFixedPointVolumeRayCastCompositeGOShadeHelper * CompositeGOShadeHelper
int ComputeRowBounds(vtkRenderer *ren, int imageFlag, int rowBoundsFlag, int inputExtent[6])
float GetZBufferValue(int x, int y)
void DisplayRenderedImage(vtkRenderer *, vtkVolume *)
void FillInMaxGradientMagnitudes(int fullDim[3], int smallDim[3])
void InitializeRayInfo(vtkVolume *vol)
void SetNumberOfThreads(int num)
Set/Get the number of threads to use.
void Render(vtkRenderer *, vtkVolume *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Initialize rendering for this volume.
void ComputeGradients(vtkVolume *vol)
int UpdateShadingTable(vtkRenderer *ren, vtkVolume *vol)
void GetUIntTripleFromPointer(unsigned int v[3], unsigned int *ptr)
float ComputeRequiredImageSampleDistance(float desiredTime, vtkRenderer *ren, vtkVolume *vol)
What is the image sample distance required to achieve the desired time?
static vtkFixedPointVolumeRayCastMapper * New()
float GetEstimatedRenderTime(vtkRenderer *ren, vtkVolume *vol)
Get an estimate of the rendering time for a given volume / renderer.
float RetrieveRenderTime(vtkRenderer *ren, vtkVolume *vol)
int CheckMinMaxVolumeFlag(unsigned int pos[3], int c)
vtkFixedPointVolumeRayCastCompositeHelper * CompositeHelper
int CheckMIPMinMaxVolumeFlag(unsigned int pos[3], int c, unsigned short maxIdx, int flip)
friend VTK_THREAD_RETURN_TYPE vtkFPVRCMSwitchOnDataType(void *arg)
void PerSubVolumeInitialization(vtkRenderer *, vtkVolume *, int)
void ComputeMatrices(double inputOrigin[3], double inputSpacing[3], int inputExtent[6], vtkRenderer *ren, vtkVolume *vol)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void LookupColorUC(unsigned short *colorTable, unsigned short *scalarOpacityTable, unsigned short index, unsigned char color[4])
void FixedPointIncrement(unsigned int position[3], unsigned int increment[3])
void LookupAndCombineIndependentColorsUC(unsigned short *colorTable[4], unsigned short *scalarOpacityTable[4], unsigned short index[4], float weights[4], int components, unsigned char color[4])
vtkVolumeRayCastSpaceLeapingImageFilter * SpaceLeapFilter
void PerVolumeInitialization(vtkRenderer *, vtkVolume *)
int ClipRayAgainstVolume(double rayStart[3], double rayEnd[3], float rayDirection[3], double bounds[6])
void CreateCanonicalView(vtkVolume *volume, vtkImageData *image, int blend_mode, double viewDirection[3], double viewUp[3])
int PerImageInitialization(vtkRenderer *, vtkVolume *, int, double *, double *, int *)
void UpdateMinMaxVolume(vtkVolume *vol)
friend VTK_THREAD_RETURN_TYPE FixedPointVolumeRayCastMapper_CastRays(void *arg)
void ShiftVectorDown(unsigned int in[3], unsigned int out[3])
int UpdateColorTable(vtkVolume *vol)
int ClipRayAgainstClippingPlanes(double rayStart[3], double rayEnd[3], int numClippingPlanes, float *clippingPlanes)
int GetNumberOfThreads()
Set/Get the number of threads to use.
int UpdateGradients(vtkVolume *vol)
void LookupDependentColorUC(unsigned short *colorTable, unsigned short *scalarOpacityTable, unsigned short index[4], int components, unsigned char color[4])
topologically and geometrically regular array of data
a simple class to control print indentation
Definition vtkIndent.h:108
represent and manipulate 4x4 transformation matrices
A class for performing multithreaded execution.
Defines a 1D piecewise function.
maintain a list of planes
helper class that draws the image to the screen
create a window for renderers to draw into
abstract specification for renderers
record modification and/or execution time
Timer support and logging.
describes linear transformations via a 4x4 matrix
int CroppingRegionFlags
Cropping variables, and a method for converting the world coordinate cropping region planes to voxel ...
represents a volume (data & properties) in a rendered scene
Definition vtkVolume.h:130
window superclass for vtkRenderWindow
Definition vtkWindow.h:45
int vtkTypeBool
Definition vtkABI.h:64
#define vtkDataArray
VTK_THREAD_RETURN_TYPE vtkFPVRCMSwitchOnDataType(void *arg)
VTK_THREAD_RETURN_TYPE FixedPointVolumeRayCastMapper_CastRays(void *arg)
int vtkIdType
Definition vtkType.h:332