Back to index

salome-gui  6.5.0
Public Types | Public Member Functions | Public Attributes
TGetRenderWindowInteractorEvent Class Reference
Inheritance diagram for TGetRenderWindowInteractorEvent:
Inheritance graph
Collaboration diagram for TGetRenderWindowInteractorEvent:
Collaboration graph

List of all members.

Public Types

typedef PyObject * TResult

Public Member Functions

 TGetRenderWindowInteractorEvent (bool toCreate)
virtual void Execute ()

Public Attributes

TResult myResult
int myCreate

Detailed Description

Definition at line 305 of file SalomePy.cxx.

Member Typedef Documentation

Definition at line 308 of file SalomePy.cxx.

Constructor & Destructor Documentation

Definition at line 311 of file SalomePy.cxx.

    : myResult( Py_None ), myCreate( toCreate ) {}

Member Function Documentation

virtual void TGetRenderWindowInteractorEvent::Execute ( ) [inline, virtual]

Definition at line 313 of file SalomePy.cxx.

    PyObject* aPyClass = ::GetPyClass( "vtkRenderWindowInteractor" );
    SVTK_ViewWindow* aVTKViewWindow = 
      ::GetVTKViewWindow( myCreate ? __Create : __FindOrCreate );
    if( aVTKViewWindow && aPyClass ) {
      vtkRenderWindowInteractor* aVTKObject = aVTKViewWindow->getInteractor();
#if VTK_XVERSION < 50700
      myResult = PyVTKObject_New( aPyClass, aVTKObject );
      myResult = PyVTKObject_New( aPyClass, NULL, aVTKObject );

Here is the call graph for this function:

Member Data Documentation

Definition at line 310 of file SalomePy.cxx.

Definition at line 309 of file SalomePy.cxx.

The documentation for this class was generated from the following file: