Documentation for vtkFrustumCoverageCuller

vtkFrustumCoverageCuller - cull actors based on frustum coverage

Super Class: vtkCuller

Description:

vtkFrustumCoverageCuller will cull actors based on the coverage in the view frustum. The coverage is computed by enclosing the actor in a bounding sphere, projecting that to the viewing coordinate system, then taking a slice through the view frustum at the center of the sphere. This results in a circle on the plane slice through the view frustum. This circle is enclosed in a squared, and the fraction of the plane slice that this square covers is the coverage. This is a number between 0 and 1. If the number is less than the MinumumCoverage, the allocated render time for that actor is set to zero. If it is greater than the MaximumCoverage, the allocated render time is set to 1.0. In between, a linear ramp is used to convert coverage into allocated render time.

 

See Also:

vtkCuller

 

Methods:

void vtkFrustumCoverageCuller ()
static vtkFrustumCoverageCuller *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
float OuterCullMethod (vtkRenderer * ,vtkActor ,int & ,int &)
int InnerCullMethod (vtkRenderer * ,vtkActor *)
void SetMinimumCoverage (float )
float GetMinimumCoverage ()
void SetMaximumCoverage (float )
float GetMaximumCoverage ()

 

Detailed Method Descriptions:

This class implements an outer cull method

float OuterCullMethod (vtkRenderer * ,vtkActor ,int & ,int &)

Every actor passes the inner cull method (the actor is not culled)

int InnerCullMethod (vtkRenderer * ,vtkActor *)

Set/Get the minimum coverage - actors with less coverage than this are given no time to render (they are culled)

void SetMinimumCoverage (float )
float GetMinimumCoverage ()

Set/Get the maximum coverage - actors with more coverage than this are given an allocated render time of 1.0 (the maximum)

void SetMaximumCoverage (float )
float GetMaximumCoverage ()