Back to index

salome-gui  6.5.0
Classes | Namespaces | Functions
VTKViewer_Algorithm.h File Reference
#include "VTKViewer.h"
#include <vtkActorCollection.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  VTK::VTKVIEWER_EXPORT
 This object should be used to avoid problems with recurring calls of GetActors() method of the vtkRenderer class. More...

Namespaces

namespace  VTK

Functions

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)
.