Salome HOME
SMH: 3.0.0 preparation - merged and adopted version (POLYWORK+HEAD)
[modules/visu.git] / src / OBJECT / VISU_MeshAct.h
index ae5e6f514cc9d9db20acff6deed564e115795db9..bacc15c37448be9b192529fb377ba1b7afa8986a 100644 (file)
@@ -44,11 +44,11 @@ class VTKOCC_EXPORT VISU_MeshAct : public VISU_Actor {
   virtual void AddToRender(vtkRenderer* theRenderer); 
   virtual void RemoveFromRender(vtkRenderer* theRenderer);
 
-  virtual void SetPipeLine(VISU_PipeLine* thePipeLine) throw(std::runtime_error&);
-  virtual void SetTransform(SALOME_Transform* theTransform); 
+  virtual void SetPipeLine(VISU_PipeLine* thePipeLine) ;
+  virtual void SetTransform(VTKViewer_Transform* theTransform); 
 
-  virtual vtkProperty* GetProperty(); 
-  virtual void SetProperty(vtkProperty* theProperty);
+  virtual vtkProperty* GetSurfaceProperty(); 
+  virtual void SetSurfaceProperty(vtkProperty* theProperty);
 
   virtual vtkProperty* GetEdgeProperty(); 
   virtual void SetEdgeProperty(vtkProperty* theProperty);
@@ -56,6 +56,9 @@ class VTKOCC_EXPORT VISU_MeshAct : public VISU_Actor {
   virtual vtkProperty* GetNodeProperty(); 
   virtual void SetNodeProperty(vtkProperty* theProperty);
 
+  virtual void SetOpacity(float theValue);
+  virtual float GetOpacity();
+
   virtual void SetLineWidth(float theLineWidth);
   virtual float GetLineWidth();
 
@@ -64,10 +67,14 @@ class VTKOCC_EXPORT VISU_MeshAct : public VISU_Actor {
   virtual void SetVisibility(int theMode);
 
   virtual void SetShrinkable(bool theIsShrinkable);
+  virtual void SetShrinkFactor(float theFactor = 0.8); 
 
-  virtual void SetShrink(float theFactor = 0.8); 
+  virtual void SetShrink(); 
   virtual void UnShrink(); 
 
+  virtual void Render(vtkRenderer *, vtkMapper *);
+  void Modified();
+
  protected:
   VISU_MeshAct();
   VISU_Actor *mySurfaceActor, *myEdgeActor, *myNodeActor;