23 #ifndef SVTK_Functor_H
24 #define SVTK_Functor_H
45 template<
class TActor>
56 if ( theActor->hasIO() )
59 if ( anIO->hasEntry() )
60 return myEntry == anIO->getEntry();
69 template<
class TActor>
83 return myIObject->isSame(anIO);
94 template<
class TActor>
100 myIsHighlight( theIsHighlight )
105 if(theActor->GetVisibility() && theActor->GetMapper())
106 theActor->highlight( myIsHighlight );
115 template<
class TActor>
125 if(theActor->GetVisibility() && theActor->hasIO())
126 myList.Append( theActor->getIO() );
Handle(TDocStd_Application) CAF_Application
Get OCAF application.
Definition: CAF_Application.cxx:97
Definition: SALOME_ListIO.hxx:29
Definition: SALOME_Actor.cxx:148
Definition: VTKViewer_Algorithm.cxx:23
Definition: SVTK_Functor.h:117
SALOME_ListIO & myList
Definition: SVTK_Functor.h:118
void operator()(TActor *theActor)
To calculate the functor.
Definition: SVTK_Functor.h:123
TCollectIfVisible(SALOME_ListIO &theList)
To construct the functor.
Definition: SVTK_Functor.h:120
Definition: SVTK_Functor.h:96
bool myIsHighlight
Definition: SVTK_Functor.h:97
THighlight(bool theIsHighlight)
To construct the functor.
Definition: SVTK_Functor.h:99
void operator()(TActor *theActor)
To calculate the functor.
Definition: SVTK_Functor.h:103
This functor check, if the actor have pointed entry.
Definition: SVTK_Functor.h:47
bool operator()(TActor *theActor)
To calculate the functor.
Definition: SVTK_Functor.h:54
TIsSameEntry(const char *theEntry)
To construct the functor.
Definition: SVTK_Functor.h:50
std::string myEntry
Definition: SVTK_Functor.h:48
This functor check, if the actor point to the same SALOME_InteractiveObject.
Definition: SVTK_Functor.h:71
Handle(SALOME_InteractiveObject) myIObject
bool operator()(TActor *theActor)
To calculate the functor.
Definition: SVTK_Functor.h:78
TIsSameIObject(const Handle(SALOME_InteractiveObject)&theIObject)
To construct the functor.
Definition: SVTK_Functor.h:74