33#ifndef vtkSelectionSource_h
34#define vtkSelectionSource_h
36#include "vtkFiltersSourcesModule.h"
43VTK_ABI_NAMESPACE_BEGIN
105 enum FieldTypeOptions
124 vtkSetClampMacro(
FieldType,
int, vtkSelectionNode::CELL, vtkSelectionNode::ROW);
166 void SetNodeName(
unsigned int nodeId,
const char* name);
188 void AddLocation(
unsigned int nodeId,
double x,
double y,
double z);
351 void SetArrayName(
unsigned int nodeId,
const char* name);
420 void SetQueryString(
unsigned int nodeId,
const char* queryString);
435 std::string Expression;
440 struct NodeInformation;
441 std::vector<std::shared_ptr<NodeInformation>>
NodesInfo;
a simple class to control print indentation
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Generate selection from given set of ids.
void SetNumberOfNodes(unsigned int numberOfNodes)
Set/Get the number of nodes that will be created for the generated selection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RemoveNode(const char *name)
Remove a selection node.
static vtkSelectionSource * New()
unsigned int GetNumberOfNodes()
Set/Get the number of nodes that will be created for the generated selection.
virtual void RemoveAllNodes()
Remove all selection nodes.
void RemoveNode(unsigned int idx)
Remove a selection node.
virtual bool GetInverse()
vtkAppendSelection vtkSelectionAlgorithm SetInverse(bool)
Determines whether the selection describes what to include or exclude.
std::pair< boost::graph_traits< vtkGraph * >::vertex_iterator, boost::graph_traits< vtkGraph * >::vertex_iterator > vertices(vtkGraph *g)
virtual int GetContentType()
Get or set the content type of the selection.
virtual char * GetQueryString()
Set/Get the query expression string.
virtual void SetContentType(int type)
Get or set the content type of the selection.
virtual void SetQueryString(const char *)
Set/Get the query expression string.
vtkTypeBool GetContainingCells()
bool GetRemoveIntermediateLayers()
**void AddID(vtkIdType piece, vtkIdType id)
**void SetAssemblyName(const char *name)
**void SetRemoveIntermediateLayers(bool RemoveIntermediateLayers)
**void SetArrayName(const char *name)
void AddStringID(unsigned int nodeId, vtkIdType piece, const char *id)
**void AddBlockSelector(const char *selector)
**void SetArrayComponent(int component)
void RemoveAllBlockSelectors()
**void SetNumberOfLayers(int numberOfLayers)
int GetHierarchicalIndex()
std::vector< std::shared_ptr< NodeInformation > > NodesInfo
void AddSelector(unsigned int nodeId, const char *selector)
const char * GetAssemblyName()
int GetContentTypeMaxValue()
virtual void SetFieldTypeOption(int)
int GetContentTypeMinValue()
void RemoveAllStringIDs()
virtual void SetFieldTypeOptionToElementType()
**void SetFrustum(double *vertices)
int GetNumberOfLayersMinValue()
const char * GetArrayName()
**void RemoveAllThresholds()
int GetNumberOfLayersMaxValue()
**void SetContainingCells(vtkTypeBool containingCells)
**void SetNodeName(const char *name)
**void AddLocation(double x, double y, double z)
int GetHierarchicalLevel()
void RemoveAllSelectors()
virtual void SetFieldTypeOptionToFieldType()
**void SetHierarchicalLevel(int level)
**void AddThreshold(double min, double max)
**void AddBlock(vtkIdType blockno)
**void SetCompositeIndex(int compositeIndex)
~vtkSelectionSource() override
**void SetRemoveSeed(bool RemoveSeed)
const char * GetNodeName()
void SetHierarchicalIndex(unsigned int nodeId, int index)
**void RemoveAllLocations()
vtkSelectionSource ELEMENT_TYPE