38 #ifndef vtkUnstructuredGridVolumeZSweepMapper_h 39 #define vtkUnstructuredGridVolumeZSweepMapper_h 41 #include "vtkRenderingVolumeModule.h" 63 class vtkPixelListFrame;
66 class vtkSimpleScreenEdge;
67 class vtkDoubleScreenEdge;
69 class vtkPixelListEntryMemory;
76 void PrintSelf( ostream& os,
vtkIndent indent ) VTK_OVERRIDE;
89 vtkSetClampMacro( ImageSampleDistance,
float, 0.1f, 100.0f );
90 vtkGetMacro( ImageSampleDistance,
float );
98 vtkSetClampMacro( MinimumImageSampleDistance,
float, 0.1f, 100.0f );
99 vtkGetMacro( MinimumImageSampleDistance,
float );
107 vtkSetClampMacro( MaximumImageSampleDistance,
float, 0.1f, 100.0f );
108 vtkGetMacro( MaximumImageSampleDistance,
float );
118 vtkSetClampMacro( AutoAdjustSampleDistances,
int, 0, 1 );
119 vtkGetMacro( AutoAdjustSampleDistances,
int );
128 vtkSetClampMacro( IntermixIntersectingGeometry,
int, 0, 1 );
129 vtkGetMacro( IntermixIntersectingGeometry,
int );
139 int GetMaxPixelListSize();
146 void SetMaxPixelListSize(
int size);
165 vtkGetVectorMacro( ImageInUseSize,
int, 2 );
166 vtkGetVectorMacro( ImageOrigin,
int, 2 );
167 vtkGetVectorMacro( ImageViewportSize,
int , 2 );
196 void CreateAndCleanPixelList();
208 void CompositeFunction(
double zTarget);
213 unsigned char ColorComponentRealToByte(
float color);
218 void RasterizeFace(
vtkIdType faceIds[3],
int externalSide);
226 void RasterizeTriangle(
238 void RasterizeSpan(
int y,
264 double GetZBufferValue(
int x,
285 void SavePixelListFrame();
287 int MaxPixelListSize;
289 float ImageSampleDistance;
290 float MinimumImageSampleDistance;
291 float MaximumImageSampleDistance;
292 int AutoAdjustSampleDistances;
297 int ImageViewportSize[2];
303 int ImageMemorySize[2];
309 int ImageInUseSize[2];
316 unsigned char *Image;
319 float *RealRGBAImage;
321 float *RenderTimeTable;
325 int RenderTableEntries;
327 int IntermixIntersectingGeometry;
331 int ZBufferOrigin[2];
339 double FaceScalars[2];
357 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.