VTK
|
Unstructured grid volume mapper based the ZSweep Algorithm. More...
#include <vtkUnstructuredGridVolumeZSweepMapper.h>
Unstructured grid volume mapper based the ZSweep Algorithm.
This is a volume mapper for unstructured grid implemented with the ZSweep algorithm. This is a software projective method.
Definition at line 73 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Reimplemented from vtkUnstructuredGridVolumeMapper.
Definition at line 76 of file vtkUnstructuredGridVolumeZSweepMapper.h.
static int vtkUnstructuredGridVolumeZSweepMapper::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkUnstructuredGridVolumeMapper.
virtual int vtkUnstructuredGridVolumeZSweepMapper::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkUnstructuredGridVolumeMapper.
static vtkUnstructuredGridVolumeZSweepMapper* vtkUnstructuredGridVolumeZSweepMapper::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkUnstructuredGridVolumeMapper.
virtual vtkObjectBase* vtkUnstructuredGridVolumeZSweepMapper::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkUnstructuredGridVolumeMapper.
Reimplemented from vtkUnstructuredGridVolumeMapper.
void vtkUnstructuredGridVolumeZSweepMapper::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkUnstructuredGridVolumeMapper.
static vtkUnstructuredGridVolumeZSweepMapper* vtkUnstructuredGridVolumeZSweepMapper::New | ( | ) | [static] |
Set MaxPixelListSize to 32.
Reimplemented from vtkAlgorithm.
virtual void vtkUnstructuredGridVolumeZSweepMapper::SetImageSampleDistance | ( | float | ) | [virtual] |
Sampling distance in the XY image dimensions. Default value of 1 meaning 1 ray cast per pixel. If set to 0.5, 4 rays will be cast per pixel. If set to 2.0, 1 ray will be cast for every 4 (2 by 2) pixels.
virtual float vtkUnstructuredGridVolumeZSweepMapper::GetImageSampleDistance | ( | ) | [virtual] |
Sampling distance in the XY image dimensions. Default value of 1 meaning 1 ray cast per pixel. If set to 0.5, 4 rays will be cast per pixel. If set to 2.0, 1 ray will be cast for every 4 (2 by 2) pixels.
virtual void vtkUnstructuredGridVolumeZSweepMapper::SetMinimumImageSampleDistance | ( | float | ) | [virtual] |
This is the minimum image sample distance allow when the image sample distance is being automatically adjusted
virtual float vtkUnstructuredGridVolumeZSweepMapper::GetMinimumImageSampleDistance | ( | ) | [virtual] |
This is the minimum image sample distance allow when the image sample distance is being automatically adjusted
virtual void vtkUnstructuredGridVolumeZSweepMapper::SetMaximumImageSampleDistance | ( | float | ) | [virtual] |
This is the maximum image sample distance allow when the image sample distance is being automatically adjusted
virtual float vtkUnstructuredGridVolumeZSweepMapper::GetMaximumImageSampleDistance | ( | ) | [virtual] |
This is the maximum image sample distance allow when the image sample distance is being automatically adjusted
virtual void vtkUnstructuredGridVolumeZSweepMapper::SetAutoAdjustSampleDistances | ( | int | ) | [virtual] |
If AutoAdjustSampleDistances is on, the the ImageSampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use).
virtual int vtkUnstructuredGridVolumeZSweepMapper::GetAutoAdjustSampleDistances | ( | ) | [virtual] |
If AutoAdjustSampleDistances is on, the the ImageSampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use).
virtual void vtkUnstructuredGridVolumeZSweepMapper::AutoAdjustSampleDistancesOn | ( | ) | [virtual] |
If AutoAdjustSampleDistances is on, the the ImageSampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use).
virtual void vtkUnstructuredGridVolumeZSweepMapper::AutoAdjustSampleDistancesOff | ( | ) | [virtual] |
If AutoAdjustSampleDistances is on, the the ImageSampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use).
virtual void vtkUnstructuredGridVolumeZSweepMapper::SetIntermixIntersectingGeometry | ( | int | ) | [virtual] |
If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.
virtual int vtkUnstructuredGridVolumeZSweepMapper::GetIntermixIntersectingGeometry | ( | ) | [virtual] |
If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.
virtual void vtkUnstructuredGridVolumeZSweepMapper::IntermixIntersectingGeometryOn | ( | ) | [virtual] |
If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.
virtual void vtkUnstructuredGridVolumeZSweepMapper::IntermixIntersectingGeometryOff | ( | ) | [virtual] |
If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.
Maximum size allowed for a pixel list. Default is 32. During the rendering, if a list of pixel is full, incremental compositing is performed. Even if it is a user setting, it is an advanced parameter. You have to understand how the algorithm works to change this value.
Change the maximum size allowed for a pixel list. It is an advanced parameter.
virtual void vtkUnstructuredGridVolumeZSweepMapper::SetRayIntegrator | ( | vtkUnstructuredGridVolumeRayIntegrator * | ri | ) | [virtual] |
Set/Get the helper class for integrating rays. If set to NULL, a default integrator will be assigned.
virtual vtkUnstructuredGridVolumeRayIntegrator* vtkUnstructuredGridVolumeZSweepMapper::GetRayIntegrator | ( | ) | [virtual] |
Set/Get the helper class for integrating rays. If set to NULL, a default integrator will be assigned.
void vtkUnstructuredGridVolumeZSweepMapper::Render | ( | vtkRenderer * | ren, |
vtkVolume * | vol | ||
) | [virtual] |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Render the volume
Implements vtkUnstructuredGridVolumeMapper.
virtual int* vtkUnstructuredGridVolumeZSweepMapper::GetImageInUseSize | ( | ) | [virtual] |
virtual void vtkUnstructuredGridVolumeZSweepMapper::GetImageInUseSize | ( | int | data[2] | ) | [virtual] |
virtual int* vtkUnstructuredGridVolumeZSweepMapper::GetImageOrigin | ( | ) | [virtual] |
virtual void vtkUnstructuredGridVolumeZSweepMapper::GetImageOrigin | ( | int | data[2] | ) | [virtual] |
virtual int* vtkUnstructuredGridVolumeZSweepMapper::GetImageViewportSize | ( | ) | [virtual] |
virtual void vtkUnstructuredGridVolumeZSweepMapper::GetImageViewportSize | ( | int | data[2] | ) | [virtual] |
void vtkUnstructuredGridVolumeZSweepMapper::BuildUseSets | ( | ) | [protected] |
For each vertex, find the list of incident faces.
int vtkUnstructuredGridVolumeZSweepMapper::ReorderTriangle | ( | vtkIdType | v[3], |
vtkIdType | w[3] | ||
) | [protected] |
Reorder vertices `v' in increasing order in `w'. Return if the orientation has changed.
void vtkUnstructuredGridVolumeZSweepMapper::ProjectAndSortVertices | ( | vtkRenderer * | ren, |
vtkVolume * | vol | ||
) | [protected] |
Project and sort the vertices by z-coordinates in view space in the "event list" (an heap).
void vtkUnstructuredGridVolumeZSweepMapper::CreateAndCleanPixelList | ( | ) | [protected] |
Create an empty "pixel list" for each pixel of the screen.
void vtkUnstructuredGridVolumeZSweepMapper::MainLoop | ( | vtkRenderWindow * | renWin | ) | [protected] |
MainLoop of the Zsweep algorithm.
void vtkUnstructuredGridVolumeZSweepMapper::CompositeFunction | ( | double | zTarget | ) | [protected] |
Do delayed compositing from back to front, stopping at zTarget for each pixel inside the bounding box.
unsigned char vtkUnstructuredGridVolumeZSweepMapper::ColorComponentRealToByte | ( | float | color | ) | [protected] |
Convert and clamp a float color component into a unsigned char.
void vtkUnstructuredGridVolumeZSweepMapper::RasterizeFace | ( | vtkIdType | faceIds[3], |
int | externalSide | ||
) | [protected] |
Perform scan conversion of a triangle face.
void vtkUnstructuredGridVolumeZSweepMapper::RasterizeTriangle | ( | vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry * | ve0, |
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry * | ve1, | ||
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry * | ve2, | ||
bool | exitFace | ||
) | [protected] |
Perform scan conversion of a triangle defined by its vertices.
void vtkUnstructuredGridVolumeZSweepMapper::RasterizeSpan | ( | int | y, |
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkScreenEdge * | left, | ||
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkScreenEdge * | right, | ||
bool | exitFace | ||
) | [protected] |
Perform scan conversion of an horizontal span from left ro right at line y.
void vtkUnstructuredGridVolumeZSweepMapper::RasterizeLine | ( | vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry * | v0, |
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry * | v1, | ||
bool | exitFace | ||
) | [protected] |
Scan conversion of a straight line defined by endpoints v0 and v1.
void vtkUnstructuredGridVolumeZSweepMapper::StoreRenderTime | ( | vtkRenderer * | ren, |
vtkVolume * | vol, | ||
float | t | ||
) | [protected] |
float vtkUnstructuredGridVolumeZSweepMapper::RetrieveRenderTime | ( | vtkRenderer * | ren, |
vtkVolume * | vol | ||
) | [protected] |
double vtkUnstructuredGridVolumeZSweepMapper::GetZBufferValue | ( | int | x, |
int | y | ||
) | [protected] |
Return the value of the z-buffer at screen coordinates (x,y).
double vtkUnstructuredGridVolumeZSweepMapper::GetMinimumBoundsDepth | ( | vtkRenderer * | ren, |
vtkVolume * | vol | ||
) | [protected] |
void vtkUnstructuredGridVolumeZSweepMapper::AllocateUseSet | ( | vtkIdType | size | ) | [protected] |
Allocate an array of usesets of size `size' only if the current one is not large enough. Otherwise clear each use set of each vertex.
void vtkUnstructuredGridVolumeZSweepMapper::AllocateVertices | ( | vtkIdType | size | ) | [protected] |
Allocate a vertex array of size `size' only if the current one is not large enough.
void vtkUnstructuredGridVolumeZSweepMapper::SavePixelListFrame | ( | ) | [protected] |
For debugging purpose, save the pixel list frame as a dataset.
Definition at line 248 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 250 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 251 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 252 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 253 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 255 of file vtkUnstructuredGridVolumeZSweepMapper.h.
int vtkUnstructuredGridVolumeZSweepMapper::ImageViewportSize[2] [protected] |
Definition at line 258 of file vtkUnstructuredGridVolumeZSweepMapper.h.
int vtkUnstructuredGridVolumeZSweepMapper::ImageMemorySize[2] [protected] |
Definition at line 264 of file vtkUnstructuredGridVolumeZSweepMapper.h.
int vtkUnstructuredGridVolumeZSweepMapper::ImageInUseSize[2] [protected] |
Definition at line 270 of file vtkUnstructuredGridVolumeZSweepMapper.h.
int vtkUnstructuredGridVolumeZSweepMapper::ImageOrigin[2] [protected] |
Definition at line 274 of file vtkUnstructuredGridVolumeZSweepMapper.h.
unsigned char* vtkUnstructuredGridVolumeZSweepMapper::Image [protected] |
Definition at line 277 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 280 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 282 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 283 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 284 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 285 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 286 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 288 of file vtkUnstructuredGridVolumeZSweepMapper.h.
float* vtkUnstructuredGridVolumeZSweepMapper::ZBuffer [protected] |
Definition at line 290 of file vtkUnstructuredGridVolumeZSweepMapper.h.
int vtkUnstructuredGridVolumeZSweepMapper::ZBufferSize[2] [protected] |
Definition at line 291 of file vtkUnstructuredGridVolumeZSweepMapper.h.
int vtkUnstructuredGridVolumeZSweepMapper::ZBufferOrigin[2] [protected] |
Definition at line 292 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 294 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 295 of file vtkUnstructuredGridVolumeZSweepMapper.h.
double vtkUnstructuredGridVolumeZSweepMapper::FaceScalars[2] [protected] |
Definition at line 300 of file vtkUnstructuredGridVolumeZSweepMapper.h.
int vtkUnstructuredGridVolumeZSweepMapper::FaceSide [protected] |
Definition at line 301 of file vtkUnstructuredGridVolumeZSweepMapper.h.
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkSpan* vtkUnstructuredGridVolumeZSweepMapper::Span [protected] |
Definition at line 304 of file vtkUnstructuredGridVolumeZSweepMapper.h.
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkPixelListFrame* vtkUnstructuredGridVolumeZSweepMapper::PixelListFrame [protected] |
Definition at line 305 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 308 of file vtkUnstructuredGridVolumeZSweepMapper.h.
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkUseSet* vtkUnstructuredGridVolumeZSweepMapper::UseSet [protected] |
Definition at line 310 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 312 of file vtkUnstructuredGridVolumeZSweepMapper.h.
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertices* vtkUnstructuredGridVolumeZSweepMapper::Vertices [protected] |
Definition at line 313 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 315 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 316 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 319 of file vtkUnstructuredGridVolumeZSweepMapper.h.
int vtkUnstructuredGridVolumeZSweepMapper::XBounds[2] [protected] |
Definition at line 320 of file vtkUnstructuredGridVolumeZSweepMapper.h.
int vtkUnstructuredGridVolumeZSweepMapper::YBounds[2] [protected] |
Definition at line 321 of file vtkUnstructuredGridVolumeZSweepMapper.h.
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkSimpleScreenEdge* vtkUnstructuredGridVolumeZSweepMapper::SimpleEdge [protected] |
Definition at line 323 of file vtkUnstructuredGridVolumeZSweepMapper.h.
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkDoubleScreenEdge* vtkUnstructuredGridVolumeZSweepMapper::DoubleEdge [protected] |
Definition at line 324 of file vtkUnstructuredGridVolumeZSweepMapper.h.
vtkUnstructuredGridVolumeRayIntegrator* vtkUnstructuredGridVolumeZSweepMapper::RayIntegrator [protected] |
Definition at line 326 of file vtkUnstructuredGridVolumeZSweepMapper.h.
vtkUnstructuredGridVolumeRayIntegrator* vtkUnstructuredGridVolumeZSweepMapper::RealRayIntegrator [protected] |
Definition at line 327 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 329 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 332 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 333 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 334 of file vtkUnstructuredGridVolumeZSweepMapper.h.
Definition at line 337 of file vtkUnstructuredGridVolumeZSweepMapper.h.
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkPixelListEntryMemory* vtkUnstructuredGridVolumeZSweepMapper::MemoryManager [protected] |
Definition at line 340 of file vtkUnstructuredGridVolumeZSweepMapper.h.