Back to index

salome-gui  6.5.0
Classes | Namespaces | Functions
SVTK_View.cxx File Reference
#include "SALOME_Actor.h"
#include "SVTK_View.h"
#include "SVTK_Renderer.h"
#include "SVTK_ViewWindow.h"
#include "SVTK_RenderWindowInteractor.h"
#include "SALOME_ListIteratorOfListIO.hxx"
#include "VTKViewer_Algorithm.h"
#include "SVTK_Functor.h"
#include <vtkActorCollection.h>
#include <vtkRenderer.h>
#include <vtkProperty.h>

Go to the source code of this file.

Classes

struct  SVTK::THighlightAction
struct  SVTK::TIsActorVisibleAction
struct  SVTK::TErase
struct  SVTK::TRemoveAction

Namespaces

namespace  SVTK

Functions

 Handle (SALOME_InteractiveObject) SVTK_View
 Display object.

Function Documentation

Display object.

Gets SALOME_InteractiveObject.

Parameters:
theEntry- entry that corresponds to intractive objects

Definition at line 218 of file SVTK_View.cxx.

{
  using namespace SVTK;
  VTK::ActorCollectionCopy aCopy(getRenderer()->GetActors());
  SALOME_Actor* anActor = 
    Find<SALOME_Actor>(aCopy.GetActors(),
                       TIsSameEntry<SALOME_Actor>(theEntry));
  if(anActor != NULL)
    return anActor->getIO();
 
  return NULL;
}