Open CASCADE Technology  7.0.0
Public Member Functions | Protected Member Functions | Protected Attributes

IVtkTools_DisplayModeFilter Class Reference

Cells filter according to the selected display mode by mesh parts types. This filter is used to get parts of a shape according to different display modes. More...

#include <IVtkTools_DisplayModeFilter.hxx>

Inheritance diagram for IVtkTools_DisplayModeFilter:
Inheritance graph
[legend]

Public Member Functions

 vtkTypeMacro (IVtkTools_DisplayModeFilter, IVtkTools_SubPolyDataFilter) static IVtkTools_DisplayModeFilter *New()
 
void PrintSelf (std::ostream &os, vtkIndent indent)
 
void SetDisplayMode (const IVtk_DisplayMode aMode)
 Set display mode to define cells types to be passed through this filter. More...
 
void SetDisplaySharedVertices (const bool doDisplay)
 Display or not shared vertices. More...
 
IVtk_DisplayMode GetDisplayMode () const
 Get current display mode. More...
 
- Public Member Functions inherited from IVtkTools_SubPolyDataFilter
 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. More...
 
void AddData (const IVtk_IdTypeMap theSet)
 Add ids to be passed through this filter. More...
 
void SetData (const IVtk_ShapeIdList theIds)
 Set ids to be passed through this filter. More...
 
void AddData (const IVtk_ShapeIdList theIds)
 Add ids to be passed through this filter. More...
 
void Clear ()
 Clear ids set to be passed through this filter. More...
 
void SetIdsArrayName (const char *theArrayName)
 Set ids array name. More...
 
void SetDoFiltering (const bool theDoFiltering)
 

Protected Member Functions

virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 Filter cells according to the given set of ids. More...
 
 IVtkTools_DisplayModeFilter ()
 
 ~IVtkTools_DisplayModeFilter ()
 
- Protected Member Functions inherited from IVtkTools_SubPolyDataFilter
 IVtkTools_SubPolyDataFilter ()
 
 ~IVtkTools_SubPolyDataFilter ()
 

Protected Attributes

IVtk_DisplayMode myDisplayMode
 Display mode defining mesh types to pass through this filter. More...
 
NCollection_DataMap< IVtk_DisplayMode, IVtk_IdTypeMapmyModesDefinition
 
bool myDoDisplaySharedVertices
 
- Protected Attributes inherited from IVtkTools_SubPolyDataFilter
IVtk_IdTypeMap myIdsSet
 Set of ids to be passed through this filter. More...
 
const char * myIdsArrayName
 
bool myDoFiltering
 

Detailed Description

Cells filter according to the selected display mode by mesh parts types. This filter is used to get parts of a shape according to different display modes.

Constructor & Destructor Documentation

IVtkTools_DisplayModeFilter::IVtkTools_DisplayModeFilter ( )
protected
IVtkTools_DisplayModeFilter::~IVtkTools_DisplayModeFilter ( )
protected

Member Function Documentation

IVtk_DisplayMode IVtkTools_DisplayModeFilter::GetDisplayMode ( ) const

Get current display mode.

void IVtkTools_DisplayModeFilter::PrintSelf ( std::ostream &  os,
vtkIndent  indent 
)
virtual int IVtkTools_DisplayModeFilter::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Filter cells according to the given set of ids.

Reimplemented from IVtkTools_SubPolyDataFilter.

void IVtkTools_DisplayModeFilter::SetDisplayMode ( const IVtk_DisplayMode  aMode)

Set display mode to define cells types to be passed through this filter.

void IVtkTools_DisplayModeFilter::SetDisplaySharedVertices ( const bool  doDisplay)

Display or not shared vertices.

IVtkTools_DisplayModeFilter::vtkTypeMacro ( IVtkTools_DisplayModeFilter  ,
IVtkTools_SubPolyDataFilter   
)

Field Documentation

IVtk_DisplayMode IVtkTools_DisplayModeFilter::myDisplayMode
protected

Display mode defining mesh types to pass through this filter.

bool IVtkTools_DisplayModeFilter::myDoDisplaySharedVertices
protected
NCollection_DataMap<IVtk_DisplayMode, IVtk_IdTypeMap> IVtkTools_DisplayModeFilter::myModesDefinition
protected

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