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);
virtual vtkProperty* GetNodeProperty();
virtual void SetNodeProperty(vtkProperty* theProperty);
+ virtual void SetOpacity(float theValue);
+ virtual float GetOpacity();
+
virtual void SetLineWidth(float theLineWidth);
virtual float GetLineWidth();
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;