]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/ActorProperties.cxx
...
[cpPlugins.git] / lib / cpPlugins / ActorProperties.cxx
diff --git a/lib/cpPlugins/ActorProperties.cxx b/lib/cpPlugins/ActorProperties.cxx
new file mode 100644 (file)
index 0000000..eeb2de1
--- /dev/null
@@ -0,0 +1,38 @@
+#include <cpPlugins/ActorProperties.h>
+
+#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$