26 #ifndef vtkSelectionSource_h
27 #define vtkSelectionSource_h
29 #include "vtkFiltersSourcesModule.h"
107 vtkSetMacro(ContentType,
int);
108 vtkGetMacro(ContentType,
int);
117 vtkSetMacro(FieldType,
int);
118 vtkGetMacro(FieldType,
int);
126 vtkSetMacro(ContainingCells,
int);
127 vtkGetMacro(ContainingCells,
int);
135 vtkGetMacro(NumberOfLayers,
int);
143 vtkSetMacro(Inverse,
int);
144 vtkGetMacro(Inverse,
int);
152 vtkSetStringMacro(ArrayName);
153 vtkGetStringMacro(ArrayName);
161 vtkSetMacro(ArrayComponent,
int);
162 vtkGetMacro(ArrayComponent,
int);
169 vtkSetMacro(CompositeIndex,
int);
170 vtkGetMacro(CompositeIndex,
int);
178 vtkSetMacro(HierarchicalLevel,
int);
179 vtkGetMacro(HierarchicalLevel,
int);
180 vtkSetMacro(HierarchicalIndex,
int);
181 vtkGetMacro(HierarchicalIndex,
int);
190 vtkSetStringMacro(AssemblyName);
191 vtkGetStringMacro(AssemblyName);
200 vtkSetStringMacro(QueryString);
201 vtkGetStringMacro(QueryString);
232 vtkInternals* Internal;
a simple class to control print indentation
Superclass for algorithms that produce only Selection as output.
Generate selection from given set of ids vtkSelectionSource generates a vtkSelection from a set of (p...
void RemoveAllThresholds()
Remove all thresholds added with AddThreshold.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void AddBlock(vtkIdType blockno)
Add the flat-index/composite index for a block.
static vtkSelectionSource * New()
void AddBlockSelector(const char *selector)
Add/Remove block-selectors to make selections with vtkSelectionNode::BLOCK_SELECTORS as the content-t...
void AddStringID(vtkIdType piece, const char *id)
Add a (piece, id) to the selection set.
void RemoveAllSelectors()
For selector-based selection qualification.
void SetFrustum(double *vertices)
Set a frustum to choose within.
void AddLocation(double x, double y, double z)
Add a point in world space to probe at.
void RemoveAllStringIDs()
Removes all IDs.
void RemoveAllLocations()
Remove all locations added with AddLocation.
void RemoveAllIDs()
Removes all IDs.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
~vtkSelectionSource() override
void AddSelector(const char *selector)
For selector-based selection qualification.
void RemoveAllBlocks()
Remove all blocks added with AddBlock.
void AddID(vtkIdType piece, vtkIdType id)
Add a (piece, id) to the selection set.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void RemoveAllBlockSelectors()
Add/Remove block-selectors to make selections with vtkSelectionNode::BLOCK_SELECTORS as the content-t...
void AddThreshold(double min, double max)
Add a value range to threshold within.
std::pair< boost::graph_traits< vtkGraph * >::vertex_iterator, boost::graph_traits< vtkGraph * >::vertex_iterator > vertices(vtkGraph *g)