VTK  9.6.1
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 112 of file vtkSelectionSource.h.

◆ SetFieldTypeOptionToElementType()

virtual void SetFieldTypeOptionToElementType ( )
virtual

Definition at line 113 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 168 of file vtkSelectionSource.h.

◆ GetNodeName() [1/2]

const char * GetNodeName ( unsigned int nodeId)

◆ GetNodeName() [2/2]

const char * GetNodeName ( )

Definition at line 170 of file vtkSelectionSource.h.

◆ AddID()

**void AddID ( vtkIdType piece,
vtkIdType id )

Definition at line 180 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 182 of file vtkSelectionSource.h.

◆ AddLocation()

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

Definition at line 190 of file vtkSelectionSource.h.

◆ AddThreshold()

**void AddThreshold ( double min,
double max )

Definition at line 198 of file vtkSelectionSource.h.

◆ SetFrustum()

**void SetFrustum ( double * vertices)

Definition at line 206 of file vtkSelectionSource.h.

◆ AddBlock()

**void AddBlock ( vtkIdType blockno)

Definition at line 214 of file vtkSelectionSource.h.

◆ AddBlockSelector()

**void AddBlockSelector ( const char * selector)

Definition at line 223 of file vtkSelectionSource.h.

◆ RemoveAllBlockSelectors() [1/2]

void RemoveAllBlockSelectors ( unsigned int nodeId)

◆ RemoveAllBlockSelectors() [2/2]

void RemoveAllBlockSelectors ( )

Definition at line 225 of file vtkSelectionSource.h.

◆ RemoveAllIDs()

**void RemoveAllIDs ( )

Definition at line 233 of file vtkSelectionSource.h.

◆ RemoveAllStringIDs() [1/2]

void RemoveAllStringIDs ( unsigned int nodeId)

◆ RemoveAllStringIDs() [2/2]

void RemoveAllStringIDs ( )

Definition at line 235 of file vtkSelectionSource.h.

◆ RemoveAllThresholds()

**void RemoveAllThresholds ( )

Definition at line 243 of file vtkSelectionSource.h.

◆ RemoveAllLocations()

**void RemoveAllLocations ( )

Definition at line 251 of file vtkSelectionSource.h.

◆ RemoveAllBlocks()

**void RemoveAllBlocks ( )

Definition at line 259 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 271 of file vtkSelectionSource.h.

◆ GetContentTypeMinValue()

int GetContentTypeMinValue ( )

Definition at line 272 of file vtkSelectionSource.h.

◆ GetContentTypeMaxValue()

int GetContentTypeMaxValue ( )

Definition at line 273 of file vtkSelectionSource.h.

◆ GetContentType() [1/2]

int GetContentType ( unsigned int nodeId)

◆ GetContentType() [2/2]

int GetContentType ( )

Definition at line 275 of file vtkSelectionSource.h.

◆ SetContainingCells()

**void SetContainingCells ( vtkTypeBool containingCells)

Definition at line 286 of file vtkSelectionSource.h.

◆ GetContainingCells() [1/2]

vtkTypeBool GetContainingCells ( unsigned int nodeId)

◆ GetContainingCells() [2/2]

vtkTypeBool GetContainingCells ( )

Definition at line 291 of file vtkSelectionSource.h.

◆ SetNumberOfLayers()

**void SetNumberOfLayers ( int numberOfLayers)

Definition at line 301 of file vtkSelectionSource.h.

◆ GetNumberOfLayersMinValue()

int GetNumberOfLayersMinValue ( )

Definition at line 302 of file vtkSelectionSource.h.

◆ GetNumberOfLayersMaxValue()

int GetNumberOfLayersMaxValue ( )

Definition at line 303 of file vtkSelectionSource.h.

◆ GetNumberOfLayers() [1/2]

int GetNumberOfLayers ( unsigned int nodeId)

◆ GetNumberOfLayers() [2/2]

int GetNumberOfLayers ( )

Definition at line 305 of file vtkSelectionSource.h.

◆ SetRemoveSeed()

**void SetRemoveSeed ( bool RemoveSeed)

Definition at line 315 of file vtkSelectionSource.h.

◆ GetRemoveSeed() [1/2]

bool GetRemoveSeed ( unsigned int nodeId)

◆ GetRemoveSeed() [2/2]

bool GetRemoveSeed ( )

Definition at line 317 of file vtkSelectionSource.h.

◆ SetRemoveIntermediateLayers()

**void SetRemoveIntermediateLayers ( bool RemoveIntermediateLayers)

Definition at line 327 of file vtkSelectionSource.h.

◆ GetRemoveIntermediateLayers() [1/2]

bool GetRemoveIntermediateLayers ( unsigned int nodeId)

◆ GetRemoveIntermediateLayers() [2/2]

bool GetRemoveIntermediateLayers ( )

Definition at line 332 of file vtkSelectionSource.h.

◆ SetInverse()

**void SetInverse ( vtkTypeBool inverse)

Definition at line 342 of file vtkSelectionSource.h.

◆ GetInverse() [1/2]

vtkTypeBool GetInverse ( unsigned int nodeId)

◆ GetInverse() [2/2]

vtkTypeBool GetInverse ( )

Definition at line 344 of file vtkSelectionSource.h.

◆ SetArrayName()

**void SetArrayName ( const char * name)

Definition at line 353 of file vtkSelectionSource.h.

◆ GetArrayName() [1/2]

const char * GetArrayName ( unsigned int nodeId)

◆ GetArrayName() [2/2]

const char * GetArrayName ( )

Definition at line 355 of file vtkSelectionSource.h.

◆ SetArrayComponent()

**void SetArrayComponent ( int component)

Definition at line 365 of file vtkSelectionSource.h.

◆ GetArrayComponent() [1/2]

int GetArrayComponent ( unsigned int nodeId)

◆ GetArrayComponent() [2/2]

int GetArrayComponent ( )

Definition at line 367 of file vtkSelectionSource.h.

◆ SetCompositeIndex()

**void SetCompositeIndex ( int compositeIndex)

Definition at line 378 of file vtkSelectionSource.h.

◆ GetCompositeIndex() [1/2]

int GetCompositeIndex ( unsigned int nodeId)

◆ GetCompositeIndex() [2/2]

int GetCompositeIndex ( )

Definition at line 380 of file vtkSelectionSource.h.

◆ SetHierarchicalLevel()

**void SetHierarchicalLevel ( int level)

Definition at line 392 of file vtkSelectionSource.h.

◆ GetHierarchicalLevel() [1/2]

int GetHierarchicalLevel ( unsigned int nodeId)

◆ GetHierarchicalLevel() [2/2]

int GetHierarchicalLevel ( )

Definition at line 394 of file vtkSelectionSource.h.

◆ SetHierarchicalIndex() [1/2]

void SetHierarchicalIndex ( unsigned int nodeId,
int index )

◆ SetHierarchicalIndex() [2/2]

void SetHierarchicalIndex ( int index)

Definition at line 396 of file vtkSelectionSource.h.

◆ GetHierarchicalIndex() [1/2]

int GetHierarchicalIndex ( unsigned int nodeId)

◆ GetHierarchicalIndex() [2/2]

int GetHierarchicalIndex ( )

Definition at line 398 of file vtkSelectionSource.h.

◆ SetAssemblyName()

**void SetAssemblyName ( const char * name)

Definition at line 408 of file vtkSelectionSource.h.

◆ GetAssemblyName() [1/2]

const char * GetAssemblyName ( unsigned int nodeId)

◆ GetAssemblyName() [2/2]

const char * GetAssemblyName ( )

Definition at line 410 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 412 of file vtkSelectionSource.h.

◆ RemoveAllSelectors() [1/2]

void RemoveAllSelectors ( unsigned int nodeId)

◆ RemoveAllSelectors() [2/2]

void RemoveAllSelectors ( )

Definition at line 414 of file vtkSelectionSource.h.

◆ SetQueryString()

**void SetQueryString ( const char * query)

Set/Get the query expression string.

Definition at line 422 of file vtkSelectionSource.h.

◆ GetQueryString() [1/2]

const char * GetQueryString ( unsigned int nodeId)

◆ GetQueryString() [2/2]

const char * GetQueryString ( )

Definition at line 424 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 436 of file vtkSelectionSource.h.

◆ FieldTypeOption

int FieldTypeOption
protected

Definition at line 437 of file vtkSelectionSource.h.

◆ FieldType

int FieldType
protected

Definition at line 438 of file vtkSelectionSource.h.

◆ ElementType

int ElementType
protected

Definition at line 439 of file vtkSelectionSource.h.

◆ ProcessID

int ProcessID
protected

Definition at line 440 of file vtkSelectionSource.h.

◆ NodesInfo

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

Definition at line 442 of file vtkSelectionSource.h.