119 #ifndef __vtkHAVSVolumeMapper_h
120 #define __vtkHAVSVolumeMapper_h
124 #define VTK_KBUFFER_SIZE_2 0
125 #define VTK_KBUFFER_SIZE_6 1
126 #define VTK_FIELD_LEVEL_OF_DETAIL 0
127 #define VTK_AREA_LEVEL_OF_DETAIL 1
131 class vtkDepthRadixSortUnstructuredGrid;
132 class vtkHAVSSortedFace;
144 vtkSetMacro(PartiallyRemoveNonConvexities,
bool);
145 vtkGetMacro(PartiallyRemoveNonConvexities,
bool);
151 vtkSetMacro(LevelOfDetailTargetTime,
float);
152 vtkGetMacro(LevelOfDetailTargetTime,
float);
157 vtkSetMacro(LevelOfDetail,
bool);
158 vtkGetMacro(LevelOfDetail,
bool);
163 void SetLevelOfDetailMethod(
int);
164 vtkGetMacro(LevelOfDetailMethod,
int);
173 vtkSetMacro(KBufferSize,
int);
174 vtkGetMacro(KBufferSize,
int);
193 virtual void SetGPUDataStructures(
bool) = 0;
194 vtkGetMacro(GPUDataStructures,
bool);
203 void InitializePrimitives(
vtkVolume *vol);
204 void InitializeScalars();
205 void InitializeLevelOfDetail();
206 void InitializeLookupTables(
vtkVolume *vol);
208 void FRadixSort(vtkHAVSSortedFace *array, vtkHAVSSortedFace *temp,
int lo,
int up);
209 void FRadix(
int byte,
int len, vtkHAVSSortedFace *
source, vtkHAVSSortedFace *dest,
int *count);
211 void UpdateLevelOfDetail(
float targetTime);
212 void PartialVisibilitySort(
float *eye);
213 bool CheckInitializationError();
219 UNSUPPORTED_EXTENSIONS=2,
228 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
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)