VTK  9.6.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
49
50#ifndef vtkFixedPointVolumeRayCastMapper_h
51#define vtkFixedPointVolumeRayCastMapper_h
52
53#include "vtkRenderingVolumeModule.h" // For export macro
54#include "vtkThreads.h" // for VTK_THREAD_RETURN_TYPE
55#include "vtkVolumeMapper.h"
56#include "vtkWrappingHints.h"
57
58#define VTKKW_FP_SHIFT 15
59#define VTKKW_FPMM_SHIFT 17
60#define VTKKW_FP_MASK 0x7fff
61#define VTKKW_FP_SCALE 32767.0
62
63VTK_ABI_NAMESPACE_BEGIN
64class vtkMatrix4x4;
67class vtkRenderer;
68class vtkTimerLog;
69class vtkVolume;
70class vtkTransform;
71class vtkRenderWindow;
85class vtkDataArray;
86
87// Forward declaration needed for use by friend declaration below.
88VTK_THREAD_RETURN_TYPE FixedPointVolumeRayCastMapper_CastRays(void* arg);
89VTK_THREAD_RETURN_TYPE vtkFPVRCMSwitchOnDataType(void* arg);
90
92 : public vtkVolumeMapper
93{
94public:
97 void PrintSelf(ostream& os, vtkIndent indent) override;
98
100
105 vtkSetMacro(SampleDistance, float);
106 vtkGetMacro(SampleDistance, float);
108
110
117 vtkSetMacro(InteractiveSampleDistance, float);
118 vtkGetMacro(InteractiveSampleDistance, float);
120
122
129 vtkSetClampMacro(ImageSampleDistance, float, 0.1f, 100.0f);
130 vtkGetMacro(ImageSampleDistance, float);
132
134
138 vtkSetClampMacro(MinimumImageSampleDistance, float, 0.1f, 100.0f);
139 vtkGetMacro(MinimumImageSampleDistance, float);
141
143
147 vtkSetClampMacro(MaximumImageSampleDistance, float, 0.1f, 100.0f);
148 vtkGetMacro(MaximumImageSampleDistance, float);
150
152
161 vtkSetClampMacro(AutoAdjustSampleDistances, vtkTypeBool, 0, 1);
165
167
179
181
186 void SetNumberOfThreads(int num);
189
191
199
201
208 float ComputeRequiredImageSampleDistance(float desiredTime, vtkRenderer* ren);
209 float ComputeRequiredImageSampleDistance(float desiredTime, vtkRenderer* ren, vtkVolume* vol);
211
216 void Render(vtkRenderer*, vtkVolume*) override;
217
218 unsigned int ToFixedPointPosition(float val);
219 void ToFixedPointPosition(float in[3], unsigned int out[3]);
220 unsigned int ToFixedPointDirection(float dir);
221 void ToFixedPointDirection(float in[3], unsigned int out[3]);
222 void FixedPointIncrement(unsigned int position[3], unsigned int increment[3]);
223 void GetFloatTripleFromPointer(float v[3], float* ptr);
224 void GetUIntTripleFromPointer(unsigned int v[3], unsigned int* ptr);
225 void ShiftVectorDown(unsigned int in[3], unsigned int out[3]);
226 int CheckMinMaxVolumeFlag(unsigned int pos[3], int c);
227 int CheckMIPMinMaxVolumeFlag(unsigned int pos[3], int c, unsigned short maxIdx, int flip);
228
229 void LookupColorUC(unsigned short* colorTable, unsigned short* scalarOpacityTable,
230 unsigned short index, unsigned char color[4]);
231 void LookupDependentColorUC(unsigned short* colorTable, unsigned short* scalarOpacityTable,
232 unsigned short index[4], int components, unsigned char color[4]);
233 void LookupAndCombineIndependentColorsUC(unsigned short* colorTable[4],
234 unsigned short* scalarOpacityTable[4], unsigned short index[4], float weights[4],
235 int components, unsigned char color[4]);
236 int CheckIfCropped(unsigned int pos[3]);
237
238 vtkGetObjectMacro(RenderWindow, vtkRenderWindow);
244 vtkGetVectorMacro(TableShift, float, 4);
245 vtkGetVectorMacro(TableScale, float, 4);
246 vtkGetMacro(ShadingRequired, int);
247 vtkGetMacro(GradientOpacityRequired, int);
248
249 vtkGetObjectMacro(CurrentScalars, vtkDataArray);
250 vtkGetObjectMacro(PreviousScalars, vtkDataArray);
251
252 int* GetRowBounds() { return this->RowBounds; }
253 unsigned short* GetColorTable(int c) { return this->ColorTable[c]; }
254 unsigned short* GetScalarOpacityTable(int c) { return this->ScalarOpacityTable[c]; }
255 unsigned short* GetGradientOpacityTable(int c) { return this->GradientOpacityTable[c]; }
256 vtkVolume* GetVolume() { return this->Volume; }
257 unsigned short** GetGradientNormal() { return this->GradientNormal; }
258 unsigned char** GetGradientMagnitude() { return this->GradientMagnitude; }
259 unsigned short* GetDiffuseShadingTable(int c) { return this->DiffuseShadingTable[c]; }
260 unsigned short* GetSpecularShadingTable(int c) { return this->SpecularShadingTable[c]; }
261
263 int x, int y, unsigned int pos[3], unsigned int dir[3], unsigned int* numSteps);
264
266
268
270
280
281 int PerImageInitialization(vtkRenderer*, vtkVolume*, int, double*, double*, int*);
287
288 void CreateCanonicalView(vtkVolume* volume, vtkImageData* image, int blend_mode,
289 double viewDirection[3], double viewUp[3]);
290
298 {
299 return this->RetrieveRenderTime(ren, vol);
300 }
301 float GetEstimatedRenderTime(vtkRenderer* ren) { return this->RetrieveRenderTime(ren); }
302
304
317 vtkSetMacro(FinalColorWindow, float);
318 vtkGetMacro(FinalColorWindow, float);
319 vtkSetMacro(FinalColorLevel, float);
320 vtkGetMacro(FinalColorLevel, float);
322
323 // Here to be used by the mapper to tell the helper
324 // to flip the MIP comparison in order to support
325 // minimum intensity blending
326 vtkGetMacro(FlipMIPComparison, int);
327
335
336protected:
339
340 // The helper class that displays the image
342
343 // The distance between sample points along the ray
346
347 // The distance between rays in the image
353
354 // Saved values used to restore
357
358 // Internal method for computing matrices needed during
359 // ray casting
360 void ComputeMatrices(double inputOrigin[3], double inputSpacing[3], int inputExtent[6],
361 vtkRenderer* ren, vtkVolume* vol);
362
363 int ComputeRowBounds(vtkRenderer* ren, int imageFlag, int rowBoundsFlag, int inputExtent[6]);
364
366
367 friend VTK_THREAD_RETURN_TYPE FixedPointVolumeRayCastMapper_CastRays(void* arg);
368 friend VTK_THREAD_RETURN_TYPE vtkFPVRCMSwitchOnDataType(void* arg);
369
371
378
380
384
385 // This object encapsulated the image and all related information
387
390
396
397 void StoreRenderTime(vtkRenderer* ren, vtkVolume* vol, float t);
400
402
404
414
417
419
420 unsigned short ColorTable[4][32768 * 3];
421 unsigned short ScalarOpacityTable[4][32768];
422 unsigned short GradientOpacityTable[4][256];
423 int TableSize[4];
424 float TableScale[4];
425 float TableShift[4];
426
429
430 unsigned short** GradientNormal;
431 unsigned char** GradientMagnitude;
434
436
438
440
442
443 unsigned short DiffuseShadingTable[4][65536 * 3];
444 unsigned short SpecularShadingTable[4][65536 * 3];
445
448
451
454
456 double rayStart[3], double rayEnd[3], float rayDirection[3], double bounds[6]);
457
462
464
466 double rayStart[3], double rayEnd[3], int numClippingPlanes, float* clippingPlanes);
467
469 unsigned int CroppingRegionMask[27];
470
471 // Get the ZBuffer value corresponding to location (x,y) where (x,y)
472 // are indexing into the ImageInUse image. This must be converted to
473 // the zbuffer image coordinates. Nearest neighbor value is returned.
474 float GetZBufferValue(int x, int y);
475
481
482 // Some variables used for ray computation
486
487 double CroppingBounds[6];
488
491
492 double SavedSpacing[3];
493
494 // Min Max structure used to do space leaping
495 unsigned short* MinMaxVolume;
500
502 void FillInMaxGradientMagnitudes(int fullDim[3], int smallDim[3]);
503
506
508
510
511private:
513 void operator=(const vtkFixedPointVolumeRayCastMapper&) = delete;
514
515 bool ThreadWarning;
516};
517
519{
520 return static_cast<unsigned int>(val * VTKKW_FP_SCALE + 0.5);
521}
522
523inline void vtkFixedPointVolumeRayCastMapper::ToFixedPointPosition(float in[3], unsigned int out[3])
524{
525 out[0] = static_cast<unsigned int>(in[0] * VTKKW_FP_SCALE + 0.5);
526 out[1] = static_cast<unsigned int>(in[1] * VTKKW_FP_SCALE + 0.5);
527 out[2] = static_cast<unsigned int>(in[2] * VTKKW_FP_SCALE + 0.5);
528}
529
531{
532 return ((dir < 0.0) ? (static_cast<unsigned int>(-dir * VTKKW_FP_SCALE + 0.5))
533 : (0x80000000 + static_cast<unsigned int>(dir * VTKKW_FP_SCALE + 0.5)));
534}
535
537 float in[3], unsigned int out[3])
538{
539 out[0] = ((in[0] < 0.0) ? (static_cast<unsigned int>(-in[0] * VTKKW_FP_SCALE + 0.5))
540 : (0x80000000 + static_cast<unsigned int>(in[0] * VTKKW_FP_SCALE + 0.5)));
541 out[1] = ((in[1] < 0.0) ? (static_cast<unsigned int>(-in[1] * VTKKW_FP_SCALE + 0.5))
542 : (0x80000000 + static_cast<unsigned int>(in[1] * VTKKW_FP_SCALE + 0.5)));
543 out[2] = ((in[2] < 0.0) ? (static_cast<unsigned int>(-in[2] * VTKKW_FP_SCALE + 0.5))
544 : (0x80000000 + static_cast<unsigned int>(in[2] * VTKKW_FP_SCALE + 0.5)));
545}
546
548 unsigned int position[3], unsigned int increment[3])
549{
550 if (increment[0] & 0x80000000)
551 {
552 position[0] += (increment[0] & 0x7fffffff);
553 }
554 else
555 {
556 position[0] -= increment[0];
557 }
558 if (increment[1] & 0x80000000)
559 {
560 position[1] += (increment[1] & 0x7fffffff);
561 }
562 else
563 {
564 position[1] -= increment[1];
565 }
566 if (increment[2] & 0x80000000)
567 {
568 position[2] += (increment[2] & 0x7fffffff);
569 }
570 else
571 {
572 position[2] -= increment[2];
573 }
574}
575
577{
578 v[0] = *(ptr);
579 v[1] = *(ptr + 1);
580 v[2] = *(ptr + 2);
581}
582
584 unsigned int v[3], unsigned int* ptr)
585{
586 v[0] = *(ptr);
587 v[1] = *(ptr + 1);
588 v[2] = *(ptr + 2);
589}
590
592 unsigned int in[3], unsigned int out[3])
593{
594 out[0] = in[0] >> VTKKW_FP_SHIFT;
595 out[1] = in[1] >> VTKKW_FP_SHIFT;
596 out[2] = in[2] >> VTKKW_FP_SHIFT;
597}
598
599inline int vtkFixedPointVolumeRayCastMapper::CheckMinMaxVolumeFlag(unsigned int mmpos[3], int c)
600{
601 vtkIdType offset = static_cast<vtkIdType>(this->MinMaxVolumeSize[3]) *
602 (mmpos[2] * static_cast<vtkIdType>(this->MinMaxVolumeSize[0] * this->MinMaxVolumeSize[1]) +
603 mmpos[1] * static_cast<vtkIdType>(this->MinMaxVolumeSize[0]) + mmpos[0]) +
604 static_cast<vtkIdType>(c);
605
606 return ((*(this->MinMaxVolume + 3 * offset + 2)) & 0x00ff);
607}
608
610 unsigned int mmpos[3], int c, unsigned short maxIdx, int flip)
611{
612 vtkIdType offset = static_cast<vtkIdType>(this->MinMaxVolumeSize[3]) *
613 (mmpos[2] * static_cast<vtkIdType>(this->MinMaxVolumeSize[0] * this->MinMaxVolumeSize[1]) +
614 mmpos[1] * static_cast<vtkIdType>(this->MinMaxVolumeSize[0]) + mmpos[0]) +
615 static_cast<vtkIdType>(c);
616
617 if ((*(this->MinMaxVolume + 3 * offset + 2) & 0x00ff))
618 {
619 if (flip)
620 {
621 return (*(this->MinMaxVolume + 3 * offset) < maxIdx);
622 }
623 else
624 {
625 return (*(this->MinMaxVolume + 3 * offset + 1) > maxIdx);
626 }
627 }
628 else
629 {
630 return 0;
631 }
632}
633
634inline void vtkFixedPointVolumeRayCastMapper::LookupColorUC(unsigned short* colorTable,
635 unsigned short* scalarOpacityTable, unsigned short index, unsigned char color[4])
636{
637 unsigned short alpha = scalarOpacityTable[index];
638 color[0] = static_cast<unsigned char>(
639 (colorTable[3 * index] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
640 color[1] = static_cast<unsigned char>(
641 (colorTable[3 * index + 1] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
642 color[2] = static_cast<unsigned char>(
643 (colorTable[3 * index + 2] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
644 color[3] = static_cast<unsigned char>(alpha >> (VTKKW_FP_SHIFT - 8));
645}
646
647inline void vtkFixedPointVolumeRayCastMapper::LookupDependentColorUC(unsigned short* colorTable,
648 unsigned short* scalarOpacityTable, unsigned short index[4], int components,
649 unsigned char color[4])
650{
651 unsigned short alpha;
652 switch (components)
653 {
654 case 2:
655 alpha = scalarOpacityTable[index[1]];
656 color[0] = static_cast<unsigned char>(
657 (colorTable[3 * index[0]] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
658 color[1] = static_cast<unsigned char>(
659 (colorTable[3 * index[0] + 1] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
660 color[2] = static_cast<unsigned char>(
661 (colorTable[3 * index[0] + 2] * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
662 color[3] = static_cast<unsigned char>(alpha >> (VTKKW_FP_SHIFT - 8));
663 break;
664 case 4:
665 alpha = scalarOpacityTable[index[3]];
666 color[0] = static_cast<unsigned char>((index[0] * alpha + 0x7fff) >> VTKKW_FP_SHIFT);
667 color[1] = static_cast<unsigned char>((index[1] * alpha + 0x7fff) >> VTKKW_FP_SHIFT);
668 color[2] = static_cast<unsigned char>((index[2] * alpha + 0x7fff) >> VTKKW_FP_SHIFT);
669 color[3] = static_cast<unsigned char>(alpha >> (VTKKW_FP_SHIFT - 8));
670 break;
671 }
672}
673
675 unsigned short* colorTable[4], unsigned short* scalarOpacityTable[4], unsigned short index[4],
676 float weights[4], int components, unsigned char color[4])
677{
678 unsigned int tmp[4] = { 0, 0, 0, 0 };
679
680 for (int i = 0; i < components; i++)
681 {
682 unsigned short alpha =
683 static_cast<unsigned short>(static_cast<float>(scalarOpacityTable[i][index[i]]) * weights[i]);
684 tmp[0] += static_cast<unsigned char>(
685 ((colorTable[i][3 * index[i]]) * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
686 tmp[1] += static_cast<unsigned char>(
687 ((colorTable[i][3 * index[i] + 1]) * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
688 tmp[2] += static_cast<unsigned char>(
689 ((colorTable[i][3 * index[i] + 2]) * alpha + 0x7fff) >> (2 * VTKKW_FP_SHIFT - 8));
690 tmp[3] += static_cast<unsigned char>(alpha >> (VTKKW_FP_SHIFT - 8));
691 }
692
693 color[0] = static_cast<unsigned char>((tmp[0] > 255) ? (255) : (tmp[0]));
694 color[1] = static_cast<unsigned char>((tmp[1] > 255) ? (255) : (tmp[1]));
695 color[2] = static_cast<unsigned char>((tmp[2] > 255) ? (255) : (tmp[2]));
696 color[3] = static_cast<unsigned char>((tmp[3] > 255) ? (255) : (tmp[3]));
697}
698
700{
701 int idx;
702
703 if (pos[2] < this->FixedPointCroppingRegionPlanes[4])
704 {
705 idx = 0;
706 }
707 else if (pos[2] > this->FixedPointCroppingRegionPlanes[5])
708 {
709 idx = 18;
710 }
711 else
712 {
713 idx = 9;
714 }
715
716 if (pos[1] >= this->FixedPointCroppingRegionPlanes[2])
717 {
718 if (pos[1] > this->FixedPointCroppingRegionPlanes[3])
719 {
720 idx += 6;
721 }
722 else
723 {
724 idx += 3;
725 }
726 }
727
728 if (pos[0] >= this->FixedPointCroppingRegionPlanes[0])
729 {
730 if (pos[0] > this->FixedPointCroppingRegionPlanes[1])
731 {
732 idx += 2;
733 }
734 else
735 {
736 idx += 1;
737 }
738 }
739
740 return !(static_cast<unsigned int>(this->CroppingRegionFlags) & this->CroppingRegionMask[idx]);
741}
742
743VTK_ABI_NAMESPACE_END
744#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:29
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
Definition vtkRenderer.h:61
record modification and/or execution time
Timer support and logging.
Definition vtkTimerLog.h:86
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:41
window superclass for vtkRenderWindow
Definition vtkWindow.h:26
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:368
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL
#define VTK_MARSHALAUTO
#define VTK_MARSHALEXCLUDE(reason)