]> Creatis software - cpPlugins.git/blob - lib/cpBaseQtApplication/ActorProperties.cxx
7c15f9b95e556a75f6b839ca622d979378bd7a3a
[cpPlugins.git] / lib / cpBaseQtApplication / ActorProperties.cxx
1 #include <cpBaseQtApplication/ActorProperties.h>
2
3 // -------------------------------------------------------------------------
4 cpBaseQtApplication::ActorProperties::
5 ActorProperties( QWidget* parent )
6   : QWidget( parent )
7 {
8 }
9
10 // -------------------------------------------------------------------------
11 cpBaseQtApplication::ActorProperties::
12 ~ActorProperties( )
13 {
14 }
15
16 // -------------------------------------------------------------------------
17 bool cpBaseQtApplication::ActorProperties::
18 addRenderWindow( vtkRenderWindow* win )
19 {
20   if( win == NULL )
21     return( false );
22   this->m_Windows.insert( win );
23   return( true );
24 }
25
26 // -------------------------------------------------------------------------
27 void cpBaseQtApplication::ActorProperties::
28 _render( )
29 {
30   for( auto i = this->m_Windows.begin( ); i != this->m_Windows.end( ); ++i )
31     ( *i )->Render( );
32 }
33
34 // eof - $RCSfile$