ParaView
|
class used to generate KdTree from unstructured or structured data. More...
#include <vtkKdTreeManager.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) |
void | SetStructuredDataInformation (vtkExtentTranslator *translator, const int whole_extent[6], const double origin[3], const double spacing[3]) |
Set the optional extent translator to use to get aid in building the KdTree. More... | |
void | GenerateKdTree () |
Rebuilds the KdTree. More... | |
void | AddDataObject (vtkDataObject *) |
Add data objects. More... | |
void | RemoveAllDataObjects () |
Add data objects. More... | |
void | SetKdTree (vtkPKdTree *) |
Get/Set the KdTree managed by this manager. More... | |
virtual vtkPKdTree * | GetKdTree () |
Get/Set the KdTree managed by this manager. More... | |
virtual void | SetNumberOfPieces (int) |
Get/Set the number of pieces. More... | |
virtual int | GetNumberOfPieces () |
Get/Set the number of pieces. More... | |
Static Public Member Functions | |
static vtkKdTreeManager * | New () |
static int | IsTypeOf (const char *type) |
static vtkKdTreeManager * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkKdTreeManager () | |
~vtkKdTreeManager () | |
void | AddDataObjectToKdTree (vtkDataObject *data) |
void | AddDataSetToKdTree (vtkDataSet *data) |
virtual void | SetOrigin (double, double, double) |
virtual void | SetOrigin (double [3]) |
virtual void | SetSpacing (double, double, double) |
virtual void | SetSpacing (double [3]) |
virtual void | SetWholeExtent (int, int, int, int, int, int) |
virtual void | SetWholeExtent (int [6]) |
Protected Attributes | |
bool | KdTreeInitialized |
vtkPKdTree * | KdTree |
int | NumberOfPieces |
vtkSmartPointer< vtkExtentTranslator > | ExtentTranslator |
double | Origin [3] |
double | Spacing [3] |
int | WholeExtent [6] |
class used to generate KdTree from unstructured or structured data.
ParaView needs to build a KdTree when ordered compositing. The KdTree is either built using the all data in the pipeline when on structure data is present, or using the partitions provided by the structure data's extent translator. This class manages this logic. When structure data's extent translator is to be used, it simply uses vtkKdTreeGenerator. Otherwise, it lets the vtkPKdTree build the optimal partitioning for the data.
Definition at line 41 of file vtkKdTreeManager.h.
typedef vtkObject vtkKdTreeManager::Superclass |
Definition at line 45 of file vtkKdTreeManager.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkKdTreeManager::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkKdTreeManager::AddDataObject | ( | vtkDataObject * | ) |
Add data objects.
void vtkKdTreeManager::RemoveAllDataObjects | ( | ) |
Add data objects.
void vtkKdTreeManager::SetStructuredDataInformation | ( | vtkExtentTranslator * | translator, |
const int | whole_extent[6], | ||
const double | origin[3], | ||
const double | spacing[3] | ||
) |
Set the optional extent translator to use to get aid in building the KdTree.
void vtkKdTreeManager::SetKdTree | ( | vtkPKdTree * | ) |
Get/Set the KdTree managed by this manager.
|
virtual |
Get/Set the KdTree managed by this manager.
|
virtual |
Get/Set the number of pieces.
Passed to the vtkKdTreeGenerator when SetStructuredDataInformation() is used with non-empty translator.
|
virtual |
Get/Set the number of pieces.
Passed to the vtkKdTreeGenerator when SetStructuredDataInformation() is used with non-empty translator.
void vtkKdTreeManager::GenerateKdTree | ( | ) |
Rebuilds the KdTree.
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Definition at line 93 of file vtkKdTreeManager.h.
|
protected |
Definition at line 94 of file vtkKdTreeManager.h.
|
protected |
Definition at line 95 of file vtkKdTreeManager.h.
|
protected |
Definition at line 97 of file vtkKdTreeManager.h.
|
protected |
Definition at line 98 of file vtkKdTreeManager.h.
|
protected |
Definition at line 99 of file vtkKdTreeManager.h.
|
protected |
Definition at line 100 of file vtkKdTreeManager.h.