vtkExtractSelection Class Reference

#include <vtkExtractSelection.h>

Inheritance diagram for vtkExtractSelection:

Inheritance graph
[legend]
Collaboration diagram for vtkExtractSelection:

Collaboration graph
[legend]

List of all members.


Detailed Description

extract a subset from a vtkDataSet.

vtkExtractSelection extracts some subset of cells and points from its input dataset. The subset is described by the contents of the vtkSelection on its first input port. The dataset is given on its second input port. Depending on the content of the vtkSelection, this will use either a vtkExtractSelectedIds, vtkExtractSelectedFrustum vtkExtractSelectedLocations or a vtkExtractSelectedThreshold to perform the extraction.

See also:
vtkSelection vtkExtractSelectedIds vtkExtractSelectedFrustum vtkExtractSelectedLocations vtkExtractSelectedThresholds
Tests:
vtkExtractSelection (Tests)

Definition at line 46 of file vtkExtractSelection.h.


Public Types

typedef vtkExtractSelectionBase Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetShowBounds (int)
virtual int GetShowBounds ()
virtual void ShowBoundsOn ()
virtual void ShowBoundsOff ()
virtual void SetUseProbeForLocations (int)
virtual int GetUseProbeForLocations ()
virtual void UseProbeForLocationsOn ()
virtual void UseProbeForLocationsOff ()

Static Public Member Functions

static vtkExtractSelectionNew ()
static int IsTypeOf (const char *type)
static vtkExtractSelectionSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkExtractSelection ()
 ~vtkExtractSelection ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataObjectRequestDataInternal (unsigned int composite_index, vtkDataSet *input, vtkSelection *sel, vtkInformation *outInfo)
vtkDataObjectRequestDataInternal (unsigned int composite_index, unsigned int level, unsigned int index, vtkDataSet *input, vtkSelection *sel, vtkInformation *outInfo)
vtkDataObjectRequestDataFromBlock (vtkDataObject *input, vtkSelection *sel, vtkInformation *outInfo)

Protected Attributes

vtkExtractSelectedBlockBlockFilter
vtkExtractSelectedIdsIdsFilter
vtkExtractSelectedFrustumFrustumFilter
vtkExtractSelectedLocationsLocationsFilter
vtkExtractSelectedThresholdsThresholdsFilter
vtkProbeSelectedLocationsProbeFilter
int UseProbeForLocations
int ShowBounds

Member Typedef Documentation

Reimplemented from vtkExtractSelectionBase.

Definition at line 50 of file vtkExtractSelection.h.


Constructor & Destructor Documentation

vtkExtractSelection::vtkExtractSelection (  )  [protected]

vtkExtractSelection::~vtkExtractSelection (  )  [protected]


Member Function Documentation

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkDataObjectAlgorithm.

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

Reimplemented from vtkExtractSelectionBase.

static int vtkExtractSelection::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkExtractSelectionBase.

virtual int vtkExtractSelection::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkExtractSelectionBase.

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

Reimplemented from vtkExtractSelectionBase.

void vtkExtractSelection::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 vtkExtractSelectionBase.

virtual void vtkExtractSelection::SetShowBounds ( int   )  [virtual]

When On, this returns an unstructured grid that outlines selection area. Off is the default. Applicable only to Frustum selection extraction.

virtual int vtkExtractSelection::GetShowBounds (  )  [virtual]

When On, this returns an unstructured grid that outlines selection area. Off is the default. Applicable only to Frustum selection extraction.

virtual void vtkExtractSelection::ShowBoundsOn (  )  [virtual]

When On, this returns an unstructured grid that outlines selection area. Off is the default. Applicable only to Frustum selection extraction.

virtual void vtkExtractSelection::ShowBoundsOff (  )  [virtual]

When On, this returns an unstructured grid that outlines selection area. Off is the default. Applicable only to Frustum selection extraction.

virtual void vtkExtractSelection::SetUseProbeForLocations ( int   )  [virtual]

When On, vtkProbeSelectedLocations is used for extracting selections of content type vtkSelection::LOCATIONS. Default is off and then vtkExtractSelectedLocations is used.

virtual int vtkExtractSelection::GetUseProbeForLocations (  )  [virtual]

When On, vtkProbeSelectedLocations is used for extracting selections of content type vtkSelection::LOCATIONS. Default is off and then vtkExtractSelectedLocations is used.

virtual void vtkExtractSelection::UseProbeForLocationsOn (  )  [virtual]

When On, vtkProbeSelectedLocations is used for extracting selections of content type vtkSelection::LOCATIONS. Default is off and then vtkExtractSelectedLocations is used.

virtual void vtkExtractSelection::UseProbeForLocationsOff (  )  [virtual]

When On, vtkProbeSelectedLocations is used for extracting selections of content type vtkSelection::LOCATIONS. Default is off and then vtkExtractSelectedLocations is used.

virtual int vtkExtractSelection::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkExtractSelectionBase.

virtual int vtkExtractSelection::RequestDataObject ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Sets up empty output dataset

Reimplemented from vtkExtractSelectionBase.

virtual int vtkExtractSelection::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkDataObjectAlgorithm.

vtkDataObject* vtkExtractSelection::RequestDataInternal ( unsigned int  composite_index,
vtkDataSet input,
vtkSelection sel,
vtkInformation outInfo 
) [protected]

vtkDataObject* vtkExtractSelection::RequestDataInternal ( unsigned int  composite_index,
unsigned int  level,
unsigned int  index,
vtkDataSet input,
vtkSelection sel,
vtkInformation outInfo 
) [protected]

vtkDataObject* vtkExtractSelection::RequestDataFromBlock ( vtkDataObject input,
vtkSelection sel,
vtkInformation outInfo 
) [protected]


Member Data Documentation

Definition at line 106 of file vtkExtractSelection.h.

Definition at line 107 of file vtkExtractSelection.h.

Definition at line 108 of file vtkExtractSelection.h.

Definition at line 109 of file vtkExtractSelection.h.

Definition at line 110 of file vtkExtractSelection.h.

Definition at line 111 of file vtkExtractSelection.h.

Definition at line 113 of file vtkExtractSelection.h.

Definition at line 114 of file vtkExtractSelection.h.


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

Generated on Sat Dec 27 13:24:53 2008 for VTK by  doxygen 1.5.6