// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
namespace VTK
{
+ /*!For each actor(for ex: someActor) from \a theCollection(that can be dynamic cast to type TActor)\n
+ * Call method \a theFun(someActor)
+ */
template<typename TActor, typename TFunction>
TFunction ForEach(vtkActorCollection *theCollection, TFunction theFun)
{
return theFun;
}
-
+ /*!For each actor(for ex: someActor) from \a theCollection(that can be dynamic cast to type TActor and \n
+ * method \a thePredicate(someActor) return true) \n
+ * Call method \a theFun(someActor)
+ */
template<typename TActor, typename TPredicate, typename TFunction>
TFunction ForEachIf(vtkActorCollection *theCollection,
TPredicate thePredicate,
return theFun;
}
-
+ /*!Find actor from collection, that can be dynamicaly cast to \a TActor, \n
+ *and method \a thePredicate(someActor) return true) \n
+ *\retval someActor
+ */
template<typename TActor, typename TPredicate>
TActor* Find(vtkActorCollection *theCollection, TPredicate thePredicate)
{