33#ifndef vtkSelectionSource_h
34#define vtkSelectionSource_h
36#include "vtkFiltersSourcesModule.h"
44VTK_ABI_NAMESPACE_BEGIN
106 enum FieldTypeOptions
125 vtkSetClampMacro(
FieldType,
int, vtkSelectionNode::CELL, vtkSelectionNode::ROW);
167 void SetNodeName(
unsigned int nodeId,
const char* name);
189 void AddLocation(
unsigned int nodeId,
double x,
double y,
double z);
352 void SetArrayName(
unsigned int nodeId,
const char* name);
421 void SetQueryString(
unsigned int nodeId,
const char* queryString);
436 std::string Expression;
441 struct NodeInformation;
442 std::vector<std::shared_ptr<NodeInformation>>
NodesInfo;
a simple class to control print indentation
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.
void RemoveAllBlockSelectors(unsigned int nodeId)
void RemoveAllStringIDs(unsigned int nodeId)
**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 SetNumberOfLayers(int numberOfLayers)
std::vector< std::shared_ptr< NodeInformation > > NodesInfo
int GetArrayComponent(unsigned int nodeId)
void AddSelector(unsigned int nodeId, const char *selector)
int GetContentTypeMaxValue()
virtual void SetFieldTypeOption(int)
int GetContentTypeMinValue()
virtual void SetFieldTypeOptionToElementType()
**void SetFrustum(double *vertices)
int GetNumberOfLayersMinValue()
**void RemoveAllThresholds()
int GetNumberOfLayersMaxValue()
**void SetContainingCells(vtkTypeBool containingCells)
int GetHierarchicalLevel(unsigned int nodeId)
**void SetNodeName(const char *name)
**void AddLocation(double x, double y, double z)
vtkTypeBool GetContainingCells(unsigned int nodeId)
virtual void SetFieldTypeOptionToFieldType()
const char * GetNodeName(unsigned int nodeId)
**void SetHierarchicalLevel(int level)
**void AddThreshold(double min, double max)
**void AddBlock(vtkIdType blockno)
int GetCompositeIndex(unsigned int nodeId)
const char * GetAssemblyName(unsigned int nodeId)
**void SetCompositeIndex(int compositeIndex)
**void SetRemoveSeed(bool RemoveSeed)
void RemoveAllSelectors(unsigned int nodeId)
int GetNumberOfLayers(unsigned int nodeId)
bool GetRemoveIntermediateLayers(unsigned int nodeId)
bool GetRemoveSeed(unsigned int nodeId)
void SetHierarchicalIndex(unsigned int nodeId, int index)
**void RemoveAllLocations()
int GetHierarchicalIndex(unsigned int nodeId)
vtkSelectionSource ELEMENT_TYPE
const char * GetArrayName(unsigned int nodeId)
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override