ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkPartitionOrdering Class Reference

Build an ordering partitions for compositing. More...

#include <vtkPartitionOrdering.h>

Inherits vtkObject.

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
int GetNumberOfRegions ()
 Get the number of processes/regions. More...
 
virtual int ViewOrderAllProcessesInDirection (const double directionOfProjection[3], vtkIntArray *orderedList)
 Return a list of all processes in order from front to back given a vector direction of projection. More...
 
virtual int ViewOrderAllProcessesFromPosition (const double cameraPosition[3], vtkIntArray *orderedList)
 Return a list of all processes in order from front to back given a camera position. More...
 
void SetController (vtkMultiProcessController *c)
 Set/Get the communicator object. More...
 
virtual vtkMultiProcessController * GetController ()
 Set/Get the communicator object. More...
 
bool Construct (vtkDataSet *grid)
 Construct the global bounding boxes based. More...
 
bool Construct (const double localBounds[6])
 Construct the global bounding boxes based. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPartitionOrderingSafeDownCast (vtkObject *o)
 
static vtkPartitionOrderingNew ()
 

Protected Member Functions

 vtkPartitionOrdering ()
 
 ~vtkPartitionOrdering ()
 

Detailed Description

Build an ordering partitions for compositing.

Build, in parallel, a list of bounding boxes of one or more vtkDataSets distributed across processors. We assume each process has read in one portion of a large distributed data set. When done, each process has access to the bounding boxes, can obtain information about which process contains data for each spatial region, and can depth sort the spatial regions.

See also
vtkPKdTree

Definition at line 43 of file vtkPartitionOrdering.h.

Member Typedef Documentation

§ Superclass

Definition at line 46 of file vtkPartitionOrdering.h.

Constructor & Destructor Documentation

§ vtkPartitionOrdering()

vtkPartitionOrdering::vtkPartitionOrdering ( )
protected

§ ~vtkPartitionOrdering()

vtkPartitionOrdering::~vtkPartitionOrdering ( )
protected

Member Function Documentation

§ GetClassName()

virtual const char* vtkPartitionOrdering::GetClassName ( )
virtual

§ IsTypeOf()

static int vtkPartitionOrdering::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkPartitionOrdering::IsA ( const char *  type)
virtual

§ SafeDownCast()

static vtkPartitionOrdering* vtkPartitionOrdering::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkPartitionOrdering::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ New()

static vtkPartitionOrdering* vtkPartitionOrdering::New ( )
static

§ SetController()

void vtkPartitionOrdering::SetController ( vtkMultiProcessController *  c)

Set/Get the communicator object.

§ GetController()

virtual vtkMultiProcessController* vtkPartitionOrdering::GetController ( )
virtual

Set/Get the communicator object.

§ GetNumberOfRegions()

int vtkPartitionOrdering::GetNumberOfRegions ( )

Get the number of processes/regions.

§ ViewOrderAllProcessesInDirection()

virtual int vtkPartitionOrdering::ViewOrderAllProcessesInDirection ( const double  directionOfProjection[3],
vtkIntArray *  orderedList 
)
virtual

Return a list of all processes in order from front to back given a vector direction of projection.

Use this to do visibility sorts in parallel projection mode. `orderedList' will be resized to the number of processes. The return value is the number of processes.

Precondition
orderedList_exists: orderedList!=0

§ ViewOrderAllProcessesFromPosition()

virtual int vtkPartitionOrdering::ViewOrderAllProcessesFromPosition ( const double  cameraPosition[3],
vtkIntArray *  orderedList 
)
virtual

Return a list of all processes in order from front to back given a camera position.

Use this to do visibility sorts in perspective projection mode. `orderedList' will be resized to the number of processes. The return value is the number of processes.

Precondition
orderedList_exists: orderedList!=0

§ Construct() [1/2]

bool vtkPartitionOrdering::Construct ( vtkDataSet *  grid)

Construct the global bounding boxes based.

§ Construct() [2/2]

bool vtkPartitionOrdering::Construct ( const double  localBounds[6])

Construct the global bounding boxes based.


The documentation for this class was generated from the following file: