X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FActorProperties.cxx;fp=lib%2FcpPlugins%2FActorProperties.cxx;h=eeb2de1690be3c864794f3b5607d18be11d2489c;hb=486e2fd13401f33b2349e023be1dfc01221b0ef3;hp=0000000000000000000000000000000000000000;hpb=f7d48d6061d5c8020f0614d19d12c1a9a9126948;p=cpPlugins.git diff --git a/lib/cpPlugins/ActorProperties.cxx b/lib/cpPlugins/ActorProperties.cxx new file mode 100644 index 0000000..eeb2de1 --- /dev/null +++ b/lib/cpPlugins/ActorProperties.cxx @@ -0,0 +1,38 @@ +#include + +#ifdef cpPlugins_QT4 + +// ------------------------------------------------------------------------- +cpPlugins::ActorProperties:: +ActorProperties( QWidget* parent ) + : QWidget( parent ) +{ +} + +// ------------------------------------------------------------------------- +cpPlugins::ActorProperties:: +~ActorProperties( ) +{ +} + +// ------------------------------------------------------------------------- +bool cpPlugins::ActorProperties:: +addRenderWindow( vtkRenderWindow* win ) +{ + if( win == NULL ) + return( false ); + this->m_Windows.insert( win ); + return( true ); +} + +// ------------------------------------------------------------------------- +void cpPlugins::ActorProperties:: +_render( ) +{ + for( auto i = this->m_Windows.begin( ); i != this->m_Windows.end( ); ++i ) + ( *i )->Render( ); +} + +#endif // cpPlugins_QT4 + +// eof - $RCSfile$