VTK  9.6.2
vtkSelectionSource.h File Reference
#include "vtkFiltersSourcesModule.h"
#include "vtkSelectionAlgorithm.h"
#include "vtkSelectionNode.h"
#include "vtkWrappingHints.h"
#include <memory>
#include <vector>
Include dependency graph for vtkSelectionSource.h:

Go to the source code of this file.

Classes

class  vtkSelectionSource
 Generate selection from given set of ids. More...

Functions

virtual void SetFieldTypeOption (int)
virtual void SetFieldTypeOptionToFieldType ()
virtual void SetFieldTypeOptionToElementType ()
virtual int GetFieldTypeOption ()
**virtual int GetFieldType ()
**virtual int GetElementType ()
**virtual int GetProcessID ()
**void SetNodeName (const char *name)
const char * GetNodeName (unsigned int nodeId)
const char * GetNodeName ()
**void AddID (vtkIdType piece, vtkIdType id)
void AddStringID (unsigned int nodeId, vtkIdType piece, const char *id)
void AddStringID (vtkIdType piece, const char *id)
**void AddLocation (double x, double y, double z)
**void AddThreshold (double min, double max)
**void SetFrustum (double *vertices)
**void AddBlock (vtkIdType blockno)
**void AddBlockSelector (const char *selector)
void RemoveAllBlockSelectors (unsigned int nodeId)
void RemoveAllBlockSelectors ()
**void RemoveAllIDs ()
void RemoveAllStringIDs (unsigned int nodeId)
void RemoveAllStringIDs ()
**void RemoveAllThresholds ()
**void RemoveAllLocations ()
**void RemoveAllBlocks ()
**void SetContentType (int contentType)
 Get or set the content type of the selection.
int GetContentTypeMinValue ()
int GetContentTypeMaxValue ()
int GetContentType (unsigned int nodeId)
int GetContentType ()
**void SetContainingCells (vtkTypeBool containingCells)
vtkTypeBool GetContainingCells (unsigned int nodeId)
vtkTypeBool GetContainingCells ()
**void SetNumberOfLayers (int numberOfLayers)
int GetNumberOfLayersMinValue ()
int GetNumberOfLayersMaxValue ()
int GetNumberOfLayers (unsigned int nodeId)
int GetNumberOfLayers ()
**void SetRemoveSeed (bool RemoveSeed)
bool GetRemoveSeed (unsigned int nodeId)
bool GetRemoveSeed ()
**void SetRemoveIntermediateLayers (bool RemoveIntermediateLayers)
bool GetRemoveIntermediateLayers (unsigned int nodeId)
bool GetRemoveIntermediateLayers ()
**void SetInverse (vtkTypeBool inverse)
vtkTypeBool GetInverse (unsigned int nodeId)
vtkTypeBool GetInverse ()
**void SetArrayName (const char *name)
const char * GetArrayName (unsigned int nodeId)
const char * GetArrayName ()
**void SetArrayComponent (int component)
int GetArrayComponent (unsigned int nodeId)
int GetArrayComponent ()
**void SetCompositeIndex (int compositeIndex)
int GetCompositeIndex (unsigned int nodeId)
int GetCompositeIndex ()
**void SetHierarchicalLevel (int level)
int GetHierarchicalLevel (unsigned int nodeId)
int GetHierarchicalLevel ()
void SetHierarchicalIndex (unsigned int nodeId, int index)
void SetHierarchicalIndex (int index)
int GetHierarchicalIndex (unsigned int nodeId)
int GetHierarchicalIndex ()
**void SetAssemblyName (const char *name)
const char * GetAssemblyName (unsigned int nodeId)
const char * GetAssemblyName ()
void AddSelector (unsigned int nodeId, const char *selector)
void AddSelector (const char *selector)
void RemoveAllSelectors (unsigned int nodeId)
void RemoveAllSelectors ()
**void SetQueryString (const char *query)
 Set/Get the query expression string.
const char * GetQueryString (unsigned int nodeId)
const char * GetQueryString ()
 vtkSelectionSource ()
 ~vtkSelectionSource () override
int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override

Variables

vtkSelectionSource FIELD_TYPE
 Set/Get FieldTypeOption which is used to specify the selection field type for the selection.
vtkSelectionSource ELEMENT_TYPE
std::string Expression
int FieldTypeOption
int FieldType
int ElementType
int ProcessID
std::vector< std::shared_ptr< NodeInformation > > NodesInfo

Function Documentation

◆ SetFieldTypeOption()

virtual void SetFieldTypeOption ( int )
virtual

◆ SetFieldTypeOptionToFieldType()

virtual void SetFieldTypeOptionToFieldType ( )
virtual

Definition at line 131 of file vtkSelectionSource.h.

◆ SetFieldTypeOptionToElementType()

virtual void SetFieldTypeOptionToElementType ( )
virtual

Definition at line 132 of file vtkSelectionSource.h.

◆ GetFieldTypeOption()

virtual int GetFieldTypeOption ( )
virtual

◆ GetFieldType()

**virtual int GetFieldType ( )
virtual

◆ GetElementType()

**virtual int GetElementType ( )
virtual

◆ GetProcessID()

**virtual int GetProcessID ( )
virtual

◆ SetNodeName()

**void SetNodeName ( const char * name)

Definition at line 187 of file vtkSelectionSource.h.

◆ GetNodeName() [1/2]

const char * GetNodeName ( unsigned int nodeId)

◆ GetNodeName() [2/2]

const char * GetNodeName ( )

Definition at line 189 of file vtkSelectionSource.h.

◆ AddID()

**void AddID ( vtkIdType piece,
vtkIdType id )

Definition at line 199 of file vtkSelectionSource.h.

◆ AddStringID() [1/2]

void AddStringID ( unsigned int nodeId,
vtkIdType piece,
const char * id )

◆ AddStringID() [2/2]

void AddStringID ( vtkIdType piece,
const char * id )

Definition at line 201 of file vtkSelectionSource.h.

◆ AddLocation()

**void AddLocation ( double x,
double y,
double z )

Definition at line 209 of file vtkSelectionSource.h.

◆ AddThreshold()

**void AddThreshold ( double min,
double max )

Definition at line 217 of file vtkSelectionSource.h.

◆ SetFrustum()

**void SetFrustum ( double * vertices)

Definition at line 225 of file vtkSelectionSource.h.

◆ AddBlock()

**void AddBlock ( vtkIdType blockno)

Definition at line 233 of file vtkSelectionSource.h.

◆ AddBlockSelector()

**void AddBlockSelector ( const char * selector)

Definition at line 242 of file vtkSelectionSource.h.

◆ RemoveAllBlockSelectors() [1/2]

void RemoveAllBlockSelectors ( unsigned int nodeId)

◆ RemoveAllBlockSelectors() [2/2]

void RemoveAllBlockSelectors ( )

Definition at line 244 of file vtkSelectionSource.h.

◆ RemoveAllIDs()

**void RemoveAllIDs ( )

Definition at line 252 of file vtkSelectionSource.h.

◆ RemoveAllStringIDs() [1/2]

void RemoveAllStringIDs ( unsigned int nodeId)

◆ RemoveAllStringIDs() [2/2]

void RemoveAllStringIDs ( )

Definition at line 254 of file vtkSelectionSource.h.

◆ RemoveAllThresholds()

**void RemoveAllThresholds ( )

Definition at line 262 of file vtkSelectionSource.h.

◆ RemoveAllLocations()

**void RemoveAllLocations ( )

Definition at line 270 of file vtkSelectionSource.h.

◆ RemoveAllBlocks()

**void RemoveAllBlocks ( )

Definition at line 278 of file vtkSelectionSource.h.

◆ SetContentType()

**void SetContentType ( int type)

Get or set the content type of the selection.

This is the same as setting the CONTENT_TYPE() key on the property.

Definition at line 290 of file vtkSelectionSource.h.

◆ GetContentTypeMinValue()

int GetContentTypeMinValue ( )

Definition at line 291 of file vtkSelectionSource.h.

◆ GetContentTypeMaxValue()

int GetContentTypeMaxValue ( )

Definition at line 292 of file vtkSelectionSource.h.

◆ GetContentType() [1/2]

int GetContentType ( unsigned int nodeId)

◆ GetContentType() [2/2]

int GetContentType ( )

Definition at line 294 of file vtkSelectionSource.h.

◆ SetContainingCells()

**void SetContainingCells ( vtkTypeBool containingCells)

Definition at line 305 of file vtkSelectionSource.h.

◆ GetContainingCells() [1/2]

vtkTypeBool GetContainingCells ( unsigned int nodeId)

◆ GetContainingCells() [2/2]

vtkTypeBool GetContainingCells ( )

Definition at line 310 of file vtkSelectionSource.h.

◆ SetNumberOfLayers()

**void SetNumberOfLayers ( int numberOfLayers)

Definition at line 320 of file vtkSelectionSource.h.

◆ GetNumberOfLayersMinValue()

int GetNumberOfLayersMinValue ( )

Definition at line 321 of file vtkSelectionSource.h.

◆ GetNumberOfLayersMaxValue()

int GetNumberOfLayersMaxValue ( )

Definition at line 322 of file vtkSelectionSource.h.

◆ GetNumberOfLayers() [1/2]

int GetNumberOfLayers ( unsigned int nodeId)

◆ GetNumberOfLayers() [2/2]

int GetNumberOfLayers ( )

Definition at line 324 of file vtkSelectionSource.h.

◆ SetRemoveSeed()

**void SetRemoveSeed ( bool RemoveSeed)

Definition at line 334 of file vtkSelectionSource.h.

◆ GetRemoveSeed() [1/2]

bool GetRemoveSeed ( unsigned int nodeId)

◆ GetRemoveSeed() [2/2]

bool GetRemoveSeed ( )

Definition at line 336 of file vtkSelectionSource.h.

◆ SetRemoveIntermediateLayers()

**void SetRemoveIntermediateLayers ( bool RemoveIntermediateLayers)

Definition at line 346 of file vtkSelectionSource.h.

◆ GetRemoveIntermediateLayers() [1/2]

bool GetRemoveIntermediateLayers ( unsigned int nodeId)

◆ GetRemoveIntermediateLayers() [2/2]

bool GetRemoveIntermediateLayers ( )

Definition at line 351 of file vtkSelectionSource.h.

◆ SetInverse()

**void SetInverse ( vtkTypeBool inverse)

Definition at line 361 of file vtkSelectionSource.h.

◆ GetInverse() [1/2]

vtkTypeBool GetInverse ( unsigned int nodeId)

◆ GetInverse() [2/2]

vtkTypeBool GetInverse ( )

Definition at line 363 of file vtkSelectionSource.h.

◆ SetArrayName()

**void SetArrayName ( const char * name)

Definition at line 372 of file vtkSelectionSource.h.

◆ GetArrayName() [1/2]

const char * GetArrayName ( unsigned int nodeId)

◆ GetArrayName() [2/2]

const char * GetArrayName ( )

Definition at line 374 of file vtkSelectionSource.h.

◆ SetArrayComponent()

**void SetArrayComponent ( int component)

Definition at line 384 of file vtkSelectionSource.h.

◆ GetArrayComponent() [1/2]

int GetArrayComponent ( unsigned int nodeId)

◆ GetArrayComponent() [2/2]

int GetArrayComponent ( )

Definition at line 386 of file vtkSelectionSource.h.

◆ SetCompositeIndex()

**void SetCompositeIndex ( int compositeIndex)

Definition at line 397 of file vtkSelectionSource.h.

◆ GetCompositeIndex() [1/2]

int GetCompositeIndex ( unsigned int nodeId)

◆ GetCompositeIndex() [2/2]

int GetCompositeIndex ( )

Definition at line 399 of file vtkSelectionSource.h.

◆ SetHierarchicalLevel()

**void SetHierarchicalLevel ( int level)

Definition at line 411 of file vtkSelectionSource.h.

◆ GetHierarchicalLevel() [1/2]

int GetHierarchicalLevel ( unsigned int nodeId)

◆ GetHierarchicalLevel() [2/2]

int GetHierarchicalLevel ( )

Definition at line 413 of file vtkSelectionSource.h.

◆ SetHierarchicalIndex() [1/2]

void SetHierarchicalIndex ( unsigned int nodeId,
int index )

◆ SetHierarchicalIndex() [2/2]

void SetHierarchicalIndex ( int index)

Definition at line 415 of file vtkSelectionSource.h.

◆ GetHierarchicalIndex() [1/2]

int GetHierarchicalIndex ( unsigned int nodeId)

◆ GetHierarchicalIndex() [2/2]

int GetHierarchicalIndex ( )

Definition at line 417 of file vtkSelectionSource.h.

◆ SetAssemblyName()

**void SetAssemblyName ( const char * name)

Definition at line 427 of file vtkSelectionSource.h.

◆ GetAssemblyName() [1/2]

const char * GetAssemblyName ( unsigned int nodeId)

◆ GetAssemblyName() [2/2]

const char * GetAssemblyName ( )

Definition at line 429 of file vtkSelectionSource.h.

◆ AddSelector() [1/2]

void AddSelector ( unsigned int nodeId,
const char * selector )

◆ AddSelector() [2/2]

void AddSelector ( const char * selector)

Definition at line 431 of file vtkSelectionSource.h.

◆ RemoveAllSelectors() [1/2]

void RemoveAllSelectors ( unsigned int nodeId)

◆ RemoveAllSelectors() [2/2]

void RemoveAllSelectors ( )

Definition at line 433 of file vtkSelectionSource.h.

◆ SetQueryString()

**void SetQueryString ( const char * query)

Set/Get the query expression string.

Definition at line 441 of file vtkSelectionSource.h.

◆ GetQueryString() [1/2]

const char * GetQueryString ( unsigned int nodeId)

◆ GetQueryString() [2/2]

const char * GetQueryString ( )

Definition at line 443 of file vtkSelectionSource.h.

◆ vtkSelectionSource()

vtkSelectionSource ( )
protected

◆ ~vtkSelectionSource()

~vtkSelectionSource ( )
overrideprotected

◆ RequestInformation()

int RequestInformation ( vtkInformation * request,
vtkInformationVector ** inputVector,
vtkInformationVector * outputVector )
overrideprotected

◆ RequestData()

int RequestData ( vtkInformation * request,
vtkInformationVector ** inputVector,
vtkInformationVector * outputVector )
overrideprotected

Variable Documentation

◆ ELEMENT_TYPE

vtkSelectionSource ELEMENT_TYPE

◆ Expression

std::string Expression
protected

Definition at line 455 of file vtkSelectionSource.h.

◆ FieldTypeOption

int FieldTypeOption
protected

Definition at line 456 of file vtkSelectionSource.h.

◆ FieldType

int FieldType
protected

Definition at line 457 of file vtkSelectionSource.h.

◆ ElementType

int ElementType
protected

Definition at line 458 of file vtkSelectionSource.h.

◆ ProcessID

int ProcessID
protected

Definition at line 459 of file vtkSelectionSource.h.

◆ NodesInfo

std::vector<std::shared_ptr<NodeInformation> > NodesInfo
protected

Definition at line 461 of file vtkSelectionSource.h.