35 #ifndef vtkUnstructuredGridVolumeZSweepMapper_h 36 #define vtkUnstructuredGridVolumeZSweepMapper_h 38 #include "vtkRenderingVolumeModule.h" 60 class vtkPixelListFrame;
63 class vtkSimpleScreenEdge;
64 class vtkDoubleScreenEdge;
66 class vtkPixelListEntryMemory;
73 void PrintSelf( ostream& os,
vtkIndent indent ) VTK_OVERRIDE;
86 vtkSetClampMacro( ImageSampleDistance,
float, 0.1f, 100.0f );
87 vtkGetMacro( ImageSampleDistance,
float );
95 vtkSetClampMacro( MinimumImageSampleDistance,
float, 0.1f, 100.0f );
96 vtkGetMacro( MinimumImageSampleDistance,
float );
104 vtkSetClampMacro( MaximumImageSampleDistance,
float, 0.1f, 100.0f );
105 vtkGetMacro( MaximumImageSampleDistance,
float );
115 vtkSetClampMacro( AutoAdjustSampleDistances,
int, 0, 1 );
116 vtkGetMacro( AutoAdjustSampleDistances,
int );
125 vtkSetClampMacro( IntermixIntersectingGeometry,
int, 0, 1 );
126 vtkGetMacro( IntermixIntersectingGeometry,
int );
136 int GetMaxPixelListSize();
143 void SetMaxPixelListSize(
int size);
162 vtkGetVectorMacro( ImageInUseSize,
int, 2 );
163 vtkGetVectorMacro( ImageOrigin,
int, 2 );
164 vtkGetVectorMacro( ImageViewportSize,
int , 2 );
193 void CreateAndCleanPixelList();
205 void CompositeFunction(
double zTarget);
210 unsigned char ColorComponentRealToByte(
float color);
215 void RasterizeFace(
vtkIdType faceIds[3],
int externalSide);
223 void RasterizeTriangle(
235 void RasterizeSpan(
int y,
261 double GetZBufferValue(
int x,
282 void SavePixelListFrame();
284 int MaxPixelListSize;
286 float ImageSampleDistance;
287 float MinimumImageSampleDistance;
288 float MaximumImageSampleDistance;
289 int AutoAdjustSampleDistances;
294 int ImageViewportSize[2];
300 int ImageMemorySize[2];
306 int ImageInUseSize[2];
313 unsigned char *Image;
316 float *RealRGBAImage;
318 float *RenderTimeTable;
322 int RenderTableEntries;
324 int IntermixIntersectingGeometry;
328 int ZBufferOrigin[2];
336 double FaceScalars[2];
354 int MaxPixelListSizeReached;
represents a volume (data & properties) in a rendered scene
represent and manipulate 4x4 transformation matrices
record modification and/or execution time
abstract specification for renderers
provides thread-safe access to cells
helper class that draws the image to the screen
dynamic, self-adjusting array of double
a list of ids arranged in priority order
a superclass for volume ray integration functions
abstract class to specify cell behavior
a simple class to control print indentation
Abstract class for a unstructured grid volume mapper.
list of point or cell ids
abstract superclass for arrays of numeric data
represents the common properties for rendering a volume.
create a window for renderers to draw into
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Unstructured grid volume mapper based the ZSweep Algorithm.