23 #ifndef SVTK_Functor_H
24 #define SVTK_Functor_H
45 template<
class TActor>
54 bool operator()(TActor* theActor)
56 if ( theActor->hasIO() )
59 if ( anIO->hasEntry() )
60 return myEntry == anIO->getEntry();
69 template<
class TActor>
78 bool operator()(TActor* theActor)
83 return myIObject->isSame(anIO);
94 template<
class TActor>
100 myIsHighlight( theIsHighlight )
103 void operator()(TActor* theActor)
105 if(theActor->GetVisibility() && theActor->GetMapper())
106 theActor->highlight( myIsHighlight );
115 template<
class TActor>
123 void operator()(TActor* theActor)
125 if(theActor->GetVisibility() && theActor->hasIO())
126 myList.Append( theActor->getIO() );