VTK
|
extract a subset from a vtkDataSet. More...
#include <vtkExtractSelection.h>
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.
Definition at line 49 of file vtkExtractSelection.h.
Reimplemented from vtkExtractSelectionBase.
Definition at line 53 of file vtkExtractSelection.h.
vtkExtractSelection::vtkExtractSelection | ( | ) | [protected] |
vtkExtractSelection::~vtkExtractSelection | ( | ) | [protected] |
static vtkExtractSelection* vtkExtractSelection::New | ( | ) | [static] |
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.
static vtkExtractSelection* vtkExtractSelection::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
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, |
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] |
vtkExtractSelectedBlock* vtkExtractSelection::BlockFilter [protected] |
Definition at line 109 of file vtkExtractSelection.h.
Definition at line 110 of file vtkExtractSelection.h.
vtkExtractSelectedIds* vtkExtractSelection::IdsFilter [protected] |
Definition at line 111 of file vtkExtractSelection.h.
Definition at line 112 of file vtkExtractSelection.h.
vtkExtractSelectedRows* vtkExtractSelection::RowsFilter [protected] |
Definition at line 113 of file vtkExtractSelection.h.
Definition at line 114 of file vtkExtractSelection.h.
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.