119 #ifndef vtkHAVSVolumeMapper_h
120 #define vtkHAVSVolumeMapper_h
125 #define VTK_KBUFFER_SIZE_2 0
126 #define VTK_KBUFFER_SIZE_6 1
127 #define VTK_FIELD_LEVEL_OF_DETAIL 0
128 #define VTK_AREA_LEVEL_OF_DETAIL 1
132 class vtkDepthRadixSortUnstructuredGrid;
133 class vtkHAVSSortedFace;
145 vtkSetMacro(PartiallyRemoveNonConvexities,
bool);
146 vtkGetMacro(PartiallyRemoveNonConvexities,
bool);
152 vtkSetMacro(LevelOfDetailTargetTime,
float);
153 vtkGetMacro(LevelOfDetailTargetTime,
float);
158 vtkSetMacro(LevelOfDetail,
bool);
159 vtkGetMacro(LevelOfDetail,
bool);
164 void SetLevelOfDetailMethod(
int);
165 vtkGetMacro(LevelOfDetailMethod,
int);
174 vtkSetMacro(KBufferSize,
int);
175 vtkGetMacro(KBufferSize,
int);
194 virtual void SetGPUDataStructures(
bool) = 0;
195 vtkGetMacro(GPUDataStructures,
bool);
204 void InitializePrimitives(
vtkVolume *vol);
205 void InitializeScalars();
206 void InitializeLevelOfDetail();
207 void InitializeLookupTables(
vtkVolume *vol);
209 void FRadixSort(vtkHAVSSortedFace *array, vtkHAVSSortedFace *temp,
int lo,
int up);
210 void FRadix(
int byte,
int len, vtkHAVSSortedFace *
source, vtkHAVSSortedFace *dest,
int *count);
212 void UpdateLevelOfDetail(
float targetTime);
213 void PartialVisibilitySort(
float *eye);
214 bool CheckInitializationError();
220 UNSUPPORTED_EXTENSIONS=2,
229 double ScalarRange[2];
vtkTimeStamp ColorTransferFunctionMTime
unsigned int * InternalTriangles
#define VTK_KBUFFER_SIZE_2
represents a volume (data & properties) in a rendered scene
unsigned int NumberOfVertices
#define VTKRENDERINGVOLUME_EXPORT
record modification and/or execution time
void SetLevelOfDetailMethodArea()
virtual bool SupportedByHardware(vtkRenderer *vtkNotUsed(r))
unsigned int NumberOfBoundaryTriangles
abstract specification for renderers
void SetLevelOfDetailMethodField()
#define VTK_FIELD_LEVEL_OF_DETAIL
vtkTimeStamp ScalarsMTime
unsigned int NumberOfInternalTriangles
a simple class to control print indentation
Abstract class for a unstructured grid volume mapper.
#define VTK_AREA_LEVEL_OF_DETAIL
#define VTK_KBUFFER_SIZE_6
float LevelOfDetailTargetTime
dataset represents arbitrary combinations of all possible cell types
vtkTimeStamp AlphaTransferFunctionMTime
unsigned int * OrderedTriangles
unsigned int NumberOfScalars
float CurrentLevelOfDetail
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
bool PartiallyRemoveNonConvexities
vtkHAVSSortedFace * SortedFaces
float LevelOfDetailMaxEdgeLength
static vtkAlgorithm * New()
vtkHAVSSortedFace * RadixTemp
unsigned int * BoundaryTriangles
unsigned int LevelOfDetailTriangleCount
vtkTimeStamp UnstructuredGridMTime
Hardware-Assisted Visibility Sorting unstructured grid mapper.
unsigned int NumberOfTriangles
unsigned int NumberOfCells
void PrintSelf(ostream &os, vtkIndent indent)