ParaView
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
vtkPVSelectionSource Class Reference

selection source used to produce different types of vtkSelections. More...

#include <vtkPVSelectionSource.h>

Inheritance diagram for vtkPVSelectionSource:
Inheritance graph
[legend]
Collaboration diagram for vtkPVSelectionSource:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetFrustum (double vertices[32])
void SetArrayName (const char *arrayName)
void AddGlobalID (vtkIdType id)
void RemoveAllGlobalIDs ()
void AddPedigreeID (const char *domain, vtkIdType id)
void RemoveAllPedigreeIDs ()
void AddPedigreeStringID (const char *domain, const char *id)
void RemoveAllPedigreeStringIDs ()
void AddID (vtkIdType piece, vtkIdType id)
void RemoveAllIDs ()
void AddCompositeID (unsigned int composite_index, vtkIdType piece, vtkIdType id)
void RemoveAllCompositeIDs ()
void AddHierarhicalID (unsigned int level, unsigned int dataset, vtkIdType id)
void RemoveAllHierarchicalIDs ()
void AddThreshold (double min, double max)
void RemoveAllThresholds ()
void AddBlock (vtkIdType blockno)
void RemoveAllBlocks ()
void AddLocation (double x, double y, double z)
void RemoveAllLocations ()
virtual void SetFieldType (int)
virtual int GetFieldType ()
virtual void SetContainingCells (int)
virtual int GetContainingCells ()
virtual void SetInverse (int)
virtual int GetInverse ()
virtual void SetQueryString (const char *)
virtual char * GetQueryString ()

Static Public Member Functions

static vtkPVSelectionSourceNew ()
static int IsTypeOf (const char *type)
static vtkPVSelectionSourceSafeDownCast (vtkObject *o)

Protected Types

enum  Modes {
  FRUSTUM, GLOBALIDS, ID, COMPOSITEID,
  HIERARCHICALID, THRESHOLDS, LOCATIONS, BLOCKS,
  PEDIGREEIDS, QUERY
}

Protected Member Functions

 vtkPVSelectionSource ()
 ~vtkPVSelectionSource ()
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

Modes Mode
int FieldType
int ContainingCells
int Inverse
double Frustum [32]
char * ArrayName
char * QueryString

Detailed Description

selection source used to produce different types of vtkSelections.

vtkPVSelectionSource is used to create different types of selections. It provides different APIs for different types of selections to create. The output selection type depends on the API used most recently.

Definition at line 29 of file vtkPVSelectionSource.h.


Member Enumeration Documentation

enum vtkPVSelectionSource::Modes [protected]
Enumerator:
FRUSTUM 
GLOBALIDS 
ID 
COMPOSITEID 
HIERARCHICALID 
THRESHOLDS 
LOCATIONS 
BLOCKS 
PEDIGREEIDS 
QUERY 

Definition at line 137 of file vtkPVSelectionSource.h.


Constructor & Destructor Documentation

vtkPVSelectionSource::vtkPVSelectionSource ( ) [protected]
vtkPVSelectionSource::~vtkPVSelectionSource ( ) [protected]

Member Function Documentation

static vtkPVSelectionSource* vtkPVSelectionSource::New ( ) [static]

Reimplemented from vtkSelectionAlgorithm.

virtual const char* vtkPVSelectionSource::GetClassName ( ) [virtual]

Reimplemented from vtkSelectionAlgorithm.

static int vtkPVSelectionSource::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkSelectionAlgorithm.

virtual int vtkPVSelectionSource::IsA ( const char *  type) [virtual]

Reimplemented from vtkSelectionAlgorithm.

static vtkPVSelectionSource* vtkPVSelectionSource::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkSelectionAlgorithm.

void vtkPVSelectionSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkSelectionAlgorithm.

void vtkPVSelectionSource::SetFrustum ( double  vertices[32])

Set a frustum to choose within.

void vtkPVSelectionSource::AddGlobalID ( vtkIdType  id)

Add global IDs.

void vtkPVSelectionSource::RemoveAllGlobalIDs ( )

Add global IDs.

void vtkPVSelectionSource::AddPedigreeID ( const char *  domain,
vtkIdType  id 
)

Add integer pedigree IDs in a particular domain.

void vtkPVSelectionSource::RemoveAllPedigreeIDs ( )

Add integer pedigree IDs in a particular domain.

void vtkPVSelectionSource::AddPedigreeStringID ( const char *  domain,
const char *  id 
)

Add string pedigree IDs in a particular domain.

void vtkPVSelectionSource::RemoveAllPedigreeStringIDs ( )

Add string pedigree IDs in a particular domain.

void vtkPVSelectionSource::AddID ( vtkIdType  piece,
vtkIdType  id 
)

Add a (piece, id) to the selection set. The source will generate only the ids for which piece == UPDATE_PIECE_NUMBER. If piece == -1, the id applies to all pieces.

void vtkPVSelectionSource::RemoveAllIDs ( )

Add a (piece, id) to the selection set. The source will generate only the ids for which piece == UPDATE_PIECE_NUMBER. If piece == -1, the id applies to all pieces.

void vtkPVSelectionSource::AddCompositeID ( unsigned int  composite_index,
vtkIdType  piece,
vtkIdType  id 
)

Add IDs that will be added to the selection produced by the selection source. The source will generate only the ids for which piece == UPDATE_PIECE_NUMBER. If piece == -1, the id applies to all pieces.

void vtkPVSelectionSource::RemoveAllCompositeIDs ( )

Add IDs that will be added to the selection produced by the selection source. The source will generate only the ids for which piece == UPDATE_PIECE_NUMBER. If piece == -1, the id applies to all pieces.

void vtkPVSelectionSource::AddHierarhicalID ( unsigned int  level,
unsigned int  dataset,
vtkIdType  id 
)

The list of IDs that will be added to the selection produced by the selection source.

void vtkPVSelectionSource::RemoveAllHierarchicalIDs ( )

The list of IDs that will be added to the selection produced by the selection source.

void vtkPVSelectionSource::AddThreshold ( double  min,
double  max 
)

Add a value range to threshold within.

void vtkPVSelectionSource::RemoveAllThresholds ( )

Add a value range to threshold within.

void vtkPVSelectionSource::AddBlock ( vtkIdType  blockno)

Add the flat-index/composite index for a block.

void vtkPVSelectionSource::RemoveAllBlocks ( )

Add the flat-index/composite index for a block.

void vtkPVSelectionSource::SetArrayName ( const char *  arrayName)

For threshold and value selection, this controls the name of the scalar array that will be thresholded within.

void vtkPVSelectionSource::AddLocation ( double  x,
double  y,
double  z 
)

Add a point in world space to probe at.

void vtkPVSelectionSource::RemoveAllLocations ( )

Add a point in world space to probe at.

virtual void vtkPVSelectionSource::SetFieldType ( int  ) [virtual]

Set the field type for the generated selection. Possible values are as defined by vtkSelection::SelectionField.

virtual int vtkPVSelectionSource::GetFieldType ( ) [virtual]

Set the field type for the generated selection. Possible values are as defined by vtkSelection::SelectionField.

virtual void vtkPVSelectionSource::SetContainingCells ( int  ) [virtual]

When extracting by points, extract the cells that contain the passing points.

virtual int vtkPVSelectionSource::GetContainingCells ( ) [virtual]

When extracting by points, extract the cells that contain the passing points.

virtual void vtkPVSelectionSource::SetInverse ( int  ) [virtual]
virtual int vtkPVSelectionSource::GetInverse ( ) [virtual]
virtual void vtkPVSelectionSource::SetQueryString ( const char *  ) [virtual]

Set/get the query expression string.

virtual char* vtkPVSelectionSource::GetQueryString ( ) [virtual]

Set/get the query expression string.

virtual int vtkPVSelectionSource::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Reimplemented from vtkSelectionAlgorithm.


Member Data Documentation

Definition at line 151 of file vtkPVSelectionSource.h.

Definition at line 152 of file vtkPVSelectionSource.h.

Definition at line 153 of file vtkPVSelectionSource.h.

Definition at line 154 of file vtkPVSelectionSource.h.

Definition at line 155 of file vtkPVSelectionSource.h.

Definition at line 156 of file vtkPVSelectionSource.h.

Definition at line 157 of file vtkPVSelectionSource.h.


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