Package VTK


Data Structures

struct  TSetFunction
struct  TSetVisibility

Functions

template<typename TActor, typename TFunction>
TFunction ForEach (vtkActorCollection *theCollection, TFunction theFun)
template<typename TActor, typename TPredicate, typename TFunction>
TFunction ForEachIf (vtkActorCollection *theCollection, TPredicate thePredicate, TFunction theFun)
template<typename TActor, typename TPredicate>
TActor * Find (vtkActorCollection *theCollection, TPredicate thePredicate)


Function Documentation

template<typename TActor, typename TFunction>
TFunction VTK.ForEach vtkActorCollection *  theCollection,
TFunction  theFun
 

For each actor(for ex: someActor) from theCollection(that can be dynamic cast to type TActor) Call method theFun(someActor)

template<typename TActor, typename TPredicate, typename TFunction>
TFunction VTK.ForEachIf vtkActorCollection *  theCollection,
TPredicate  thePredicate,
TFunction  theFun
 

For each actor(for ex: someActor) from theCollection(that can be dynamic cast to type TActor and
method thePredicate(someActor) return true)
Call method theFun(someActor)

template<typename TActor, typename TPredicate>
TActor* VTK.Find vtkActorCollection *  theCollection,
TPredicate  thePredicate
 

Find actor from collection, that can be dynamicaly cast to TActor,
and method thePredicate(someActor) return true)

Return values:
someActor