VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkExtractSelection Class Reference

extract a subset from a vtkDataSet. More...

#include <vtkExtractSelection.h>

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

Public Types

typedef vtkExtractSelectionBase Superclass
 
- Public Types inherited from vtkExtractSelectionBase
typedef vtkDataObjectAlgorithm 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 ()
 
- Public Member Functions inherited from vtkExtractSelectionBase
vtkExtractSelectionBaseNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetSelectionConnection (vtkAlgorithmOutput *algOutput)
 
virtual void SetPreserveTopology (int)
 
virtual int GetPreserveTopology ()
 
virtual void PreserveTopologyOn ()
 
virtual void PreserveTopologyOff ()
 

Static Public Member Functions

static vtkExtractSelectionNew ()
 
static int IsTypeOf (const char *type)
 
static vtkExtractSelectionSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkExtractSelectionBase
static int IsTypeOf (const char *type)
 
static vtkExtractSelectionBaseSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () 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 *)
 
vtkDataObject * RequestDataInternal (unsigned int composite_index, vtkDataObject *non_composite_input, vtkSelection *sel, vtkInformation *outInfo)
 
vtkDataObject * RequestDataInternal (unsigned int composite_index, unsigned int level, unsigned int index, vtkDataObject *non_composite_input, vtkSelection *sel, vtkInformation *outInfo)
 
vtkDataObject * RequestDataFromBlock (vtkDataObject *input, vtkSelectionNode *sel, vtkInformation *outInfo)
 
- Protected Member Functions inherited from vtkExtractSelectionBase
 vtkExtractSelectionBase ()
 
 ~vtkExtractSelectionBase ()
 

Protected Attributes

vtkExtractSelectedBlockBlockFilter
 
vtkExtractSelectedFrustumFrustumFilter
 
vtkExtractSelectedIdsIdsFilter
 
vtkExtractSelectedLocationsLocationsFilter
 
vtkExtractSelectedRowsRowsFilter
 
vtkExtractSelectedThresholdsThresholdsFilter
 
vtkProbeSelectedLocationsProbeFilter
 
int UseProbeForLocations
 
int ShowBounds
 
- Protected Attributes inherited from vtkExtractSelectionBase
int PreserveTopology
 

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

Definition at line 53 of file vtkExtractSelection.h.

Constructor & Destructor Documentation

vtkExtractSelection::vtkExtractSelection ( )
protected
vtkExtractSelection::~vtkExtractSelection ( )
protected

Member Function Documentation

static vtkExtractSelection* vtkExtractSelection::New ( )
static
static int vtkExtractSelection::IsTypeOf ( const char *  type)
static
virtual int vtkExtractSelection::IsA ( const char *  type)
virtual

Reimplemented from vtkExtractSelectionBase.

static vtkExtractSelection* vtkExtractSelection::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkExtractSelection::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkExtractSelectionBase.

vtkExtractSelection* vtkExtractSelection::NewInstance ( ) const
void vtkExtractSelection::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 
)
protectedvirtual

Reimplemented from vtkExtractSelectionBase.

virtual int vtkExtractSelection::RequestDataObject ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

Sets up empty output dataset

Reimplemented from vtkExtractSelectionBase.

virtual int vtkExtractSelection::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
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
vtkDataObject* vtkExtractSelection::RequestDataFromBlock ( vtkDataObject *  input,
vtkSelectionNode *  sel,
vtkInformation *  outInfo 
)
protected

Member Data Documentation

vtkExtractSelectedBlock* vtkExtractSelection::BlockFilter
protected

Definition at line 109 of file vtkExtractSelection.h.

vtkExtractSelectedFrustum* vtkExtractSelection::FrustumFilter
protected

Definition at line 110 of file vtkExtractSelection.h.

vtkExtractSelectedIds* vtkExtractSelection::IdsFilter
protected

Definition at line 111 of file vtkExtractSelection.h.

vtkExtractSelectedLocations* vtkExtractSelection::LocationsFilter
protected

Definition at line 112 of file vtkExtractSelection.h.

vtkExtractSelectedRows* vtkExtractSelection::RowsFilter
protected

Definition at line 113 of file vtkExtractSelection.h.

vtkExtractSelectedThresholds* vtkExtractSelection::ThresholdsFilter
protected

Definition at line 114 of file vtkExtractSelection.h.

vtkProbeSelectedLocations* vtkExtractSelection::ProbeFilter
protected

Definition at line 115 of file vtkExtractSelection.h.

int vtkExtractSelection::UseProbeForLocations
protected

Definition at line 117 of file vtkExtractSelection.h.

int vtkExtractSelection::ShowBounds
protected

Definition at line 118 of file vtkExtractSelection.h.


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