Back to index

salome-gui  6.5.0
Public Member Functions | Protected Attributes
VTKViewer_Filter Class Reference

Description : Base class of filters of for VTK viewer. More...

#include <VTKViewer_Filter.h>

List of all members.

Public Member Functions

VTKVIEWER_EXPORT VTKViewer_Filter ()
 Constructor.
virtual VTKVIEWER_EXPORT ~VTKViewer_Filter ()
 Virtual Destructor.
VTKVIEWER_EXPORT bool IsValid (VTKViewer_Actor *, const int theId)
 Check correctness of theCellId for actor theActor by call virtual method IsValid( const int theId ).
virtual VTKVIEWER_EXPORT bool IsValid (const int theId) const =0
virtual VTKVIEWER_EXPORT int GetId () const =0
virtual VTKVIEWER_EXPORT bool IsNodeFilter () const =0
virtual VTKVIEWER_EXPORT void SetActor (VTKViewer_Actor *)
 Virtual method.Set actor to theActor.

Protected Attributes

VTKViewer_Actor * myActor

Detailed Description

Description : Base class of filters of for VTK viewer.

Method IsValid
should be redefined in derived classes

Definition at line 46 of file VTKViewer_Filter.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 39 of file VTKViewer_Filter.cxx.

{
  myActor = 0;
}

Virtual Destructor.

Definition at line 45 of file VTKViewer_Filter.cxx.

{
}

Member Function Documentation

virtual VTKVIEWER_EXPORT int VTKViewer_Filter::GetId ( ) const [pure virtual]

Here is the caller graph for this function:

virtual VTKVIEWER_EXPORT bool VTKViewer_Filter::IsNodeFilter ( ) const [pure virtual]
bool VTKViewer_Filter::IsValid ( VTKViewer_Actor *  theActor,
const int  theCellId 
)

Check correctness of theCellId for actor theActor by call virtual method IsValid( const int theId ).

Parameters:
theActor- actor
theCellId- cell id.
Return values:
TRUE- if cell id is valid, else false.

Definition at line 55 of file VTKViewer_Filter.cxx.

{
  SetActor( theActor );
  return IsValid( theCellId );
}

Here is the call graph for this function:

virtual VTKVIEWER_EXPORT bool VTKViewer_Filter::IsValid ( const int  theId) const [pure virtual]
void VTKViewer_Filter::SetActor ( VTKViewer_Actor *  theActor) [virtual]

Virtual method.Set actor to theActor.

Parameters:
theActor- actor.

Definition at line 64 of file VTKViewer_Filter.cxx.

{
  myActor = theActor;
}

Here is the caller graph for this function:


Member Data Documentation

VTKViewer_Actor* VTKViewer_Filter::myActor [protected]

Definition at line 61 of file VTKViewer_Filter.h.


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