1 #include "SVTK_Trihedron.h"
2 #include "SALOME_Actor.h"
4 #include <vtkObjectFactory.h>
5 #include <vtkActorCollection.h>
6 #include <vtkRenderer.h>
8 //****************************************************************
9 vtkStandardNewMacro(SVTK_Trihedron);
11 //****************************************************************
17 //****************************************************************
20 ::GetVisibleActorCount(vtkRenderer* theRenderer)
22 vtkActorCollection* aCollection = theRenderer->GetActors();
23 aCollection->InitTraversal();
25 while(vtkActor* aProp = aCollection->GetNextActor()) {
26 if(aProp->GetVisibility())
27 if(SALOME_Actor* anActor = SALOME_Actor::SafeDownCast(aProp))
28 if(!anActor->IsInfinitive())