Open CASCADE Technology 7.8.0
Public Member Functions | Protected Member Functions | Protected Attributes
IVtkTools_SubPolyDataFilter Class Reference

Cells filter according to the given set of cells ids. More...

#include <IVtkTools_SubPolyDataFilter.hxx>

Inheritance diagram for IVtkTools_SubPolyDataFilter:
Inheritance graph
[legend]

Public Member Functions

 vtkTypeMacro (IVtkTools_SubPolyDataFilter, vtkPolyDataAlgorithm) static IVtkTools_SubPolyDataFilter *New()
 
void PrintSelf (std::ostream &theOs, vtkIndent theIndent)
 
void SetData (const IVtk_IdTypeMap theSet)
 Set ids to be passed through this filter.
 
void AddData (const IVtk_IdTypeMap theSet)
 Add ids to be passed through this filter.
 
void SetData (const IVtk_ShapeIdList theIds)
 Set ids to be passed through this filter.
 
void AddData (const IVtk_ShapeIdList theIds)
 Add ids to be passed through this filter.
 
void Clear ()
 Clear ids set to be passed through this filter.
 
void SetIdsArrayName (const char *theArrayName)
 Set ids array name.
 
void SetDoFiltering (const bool theDoFiltering)
 

Protected Member Functions

virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 Filter cells according to the given set of ids. Note: Data arrays are not passed through if filtering is turned on.
 
 IVtkTools_SubPolyDataFilter ()
 
virtual ~IVtkTools_SubPolyDataFilter ()
 

Protected Attributes

IVtk_IdTypeMap myIdsSet
 Set of ids to be passed through this filter.
 
const charmyIdsArrayName
 
bool myDoFiltering
 
bool myToCopyNormals
 

Detailed Description

Cells filter according to the given set of cells ids.

Constructor & Destructor Documentation

◆ IVtkTools_SubPolyDataFilter()

IVtkTools_SubPolyDataFilter::IVtkTools_SubPolyDataFilter ( )
protected

◆ ~IVtkTools_SubPolyDataFilter()

virtual IVtkTools_SubPolyDataFilter::~IVtkTools_SubPolyDataFilter ( )
protectedvirtual

Member Function Documentation

◆ AddData() [1/2]

void IVtkTools_SubPolyDataFilter::AddData ( const IVtk_IdTypeMap  theSet)

Add ids to be passed through this filter.

◆ AddData() [2/2]

void IVtkTools_SubPolyDataFilter::AddData ( const IVtk_ShapeIdList  theIds)

Add ids to be passed through this filter.

◆ Clear()

void IVtkTools_SubPolyDataFilter::Clear ( )

Clear ids set to be passed through this filter.

◆ PrintSelf()

void IVtkTools_SubPolyDataFilter::PrintSelf ( std::ostream &  theOs,
vtkIndent  theIndent 
)

◆ RequestData()

virtual int IVtkTools_SubPolyDataFilter::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
overrideprotectedvirtual

Filter cells according to the given set of ids. Note: Data arrays are not passed through if filtering is turned on.

Reimplemented in IVtkTools_DisplayModeFilter.

◆ SetData() [1/2]

void IVtkTools_SubPolyDataFilter::SetData ( const IVtk_IdTypeMap  theSet)

Set ids to be passed through this filter.

◆ SetData() [2/2]

void IVtkTools_SubPolyDataFilter::SetData ( const IVtk_ShapeIdList  theIds)

Set ids to be passed through this filter.

◆ SetDoFiltering()

void IVtkTools_SubPolyDataFilter::SetDoFiltering ( const bool  theDoFiltering)

◆ SetIdsArrayName()

void IVtkTools_SubPolyDataFilter::SetIdsArrayName ( const char theArrayName)

Set ids array name.

◆ vtkTypeMacro()

IVtkTools_SubPolyDataFilter::vtkTypeMacro ( IVtkTools_SubPolyDataFilter  ,
vtkPolyDataAlgorithm   
)

Field Documentation

◆ myDoFiltering

bool IVtkTools_SubPolyDataFilter::myDoFiltering
protected

◆ myIdsArrayName

const char* IVtkTools_SubPolyDataFilter::myIdsArrayName
protected

◆ myIdsSet

IVtk_IdTypeMap IVtkTools_SubPolyDataFilter::myIdsSet
protected

Set of ids to be passed through this filter.

◆ myToCopyNormals

bool IVtkTools_SubPolyDataFilter::myToCopyNormals
protected

The documentation for this class was generated from the following file: