VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkExtractSelection Class Reference

extract a subset from a vtkDataSet. More...

#include <vtkExtractSelection.h>

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

List of all members.

Public Types

typedef vtkExtractSelectionBase Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkExtractSelectionNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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, vtkDataObject *non_composite_input, vtkSelection *sel, vtkInformation *outInfo)
vtkDataObjectRequestDataInternal (unsigned int composite_index, unsigned int level, unsigned int index, vtkDataObject *non_composite_input, vtkSelection *sel, vtkInformation *outInfo)
vtkDataObjectRequestDataFromBlock (vtkDataObject *input, vtkSelectionNode *sel, vtkInformation *outInfo)

Protected Attributes

vtkExtractSelectedBlockBlockFilter
vtkExtractSelectedFrustumFrustumFilter
vtkExtractSelectedIdsIdsFilter
vtkExtractSelectedLocationsLocationsFilter
vtkExtractSelectedRowsRowsFilter
vtkExtractSelectedThresholdsThresholdsFilter
vtkProbeSelectedLocationsProbeFilter
int UseProbeForLocations
int ShowBounds

Detailed Description

extract a subset from a vtkDataSet.

vtkExtractSelection extracts some subset of cells and points from its input dataset. The dataset is given on its first input port. The subset is described by the contents of the vtkSelection 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 49 of file vtkExtractSelection.h.


Member Typedef Documentation

Reimplemented from vtkExtractSelectionBase.

Definition at line 53 of file vtkExtractSelection.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkDataObjectAlgorithm.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkExtractSelectionBase.

Reimplemented from vtkExtractSelectionBase.

virtual vtkObjectBase* vtkExtractSelection::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkExtractSelectionBase.

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.

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.

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.

Reimplemented from vtkDataObjectAlgorithm.

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

Member Data Documentation

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 112 of file vtkExtractSelection.h.

Definition at line 113 of file vtkExtractSelection.h.

Definition at line 114 of file vtkExtractSelection.h.

Definition at line 115 of file vtkExtractSelection.h.

Definition at line 117 of file vtkExtractSelection.h.

Definition at line 118 of file vtkExtractSelection.h.


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