26 #ifndef vtkSelectionSource_h
27 #define vtkSelectionSource_h
29 #include "vtkFiltersSourcesModule.h"
32 class vtkSelectionSourceInternals;
100 vtkSetMacro(ContentType,
int);
101 vtkGetMacro(ContentType,
int);
110 vtkSetMacro(FieldType,
int);
111 vtkGetMacro(FieldType,
int);
119 vtkSetMacro(ContainingCells,
int);
120 vtkGetMacro(ContainingCells,
int);
128 vtkGetMacro(NumberOfLayers,
int);
136 vtkSetMacro(Inverse,
int);
137 vtkGetMacro(Inverse,
int);
144 vtkSetStringMacro(ArrayName);
145 vtkGetStringMacro(ArrayName);
153 vtkSetMacro(ArrayComponent,
int);
154 vtkGetMacro(ArrayComponent,
int);
161 vtkSetMacro(CompositeIndex,
int);
162 vtkGetMacro(CompositeIndex,
int);
170 vtkSetMacro(HierarchicalLevel,
int);
171 vtkGetMacro(HierarchicalLevel,
int);
172 vtkSetMacro(HierarchicalIndex,
int);
173 vtkGetMacro(HierarchicalIndex,
int);
180 vtkSetStringMacro(QueryString);
181 vtkGetStringMacro(QueryString);
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()
vtkSelectionSourceInternals * Internal
void AddStringID(vtkIdType piece, const char *id)
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()
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 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 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)