-
- static SMESH_Actor* New();
-
- // Description:
- // This causes the actor to be rendered. It, in turn, will render the actor`s
- // property and then mapper.
- virtual void Render(vtkRenderer *, vtkMapper *);
-
- // Description:
- // This method is used internally by the rendering process.
- // We overide the superclass method to properly set the estimated render time.
- int RenderOpaqueGeometry(vtkViewport *viewport);
-
- void ShallowCopy(vtkProp *prop);
-
- void setReader(vtkUnstructuredGridReader* r) ;
- vtkUnstructuredGridReader* getReader();
-
- // Highlight
- virtual bool hasHighlight() { return true; }
-
- vtkMapper* getMapper();
-
- void setDisplayMode(int);
-
- void SetColor(float r,float g,float b);
- void GetColor(float& r,float& g,float& b);
- void SetHighlightColor(float r,float g,float b);
- void GetHighlightColor(float& r,float& g,float& b);
- void SetPreselectedColor(float r,float g,float b);
- void GetPreselectedColor(float& r,float& g,float& b);
-
- void SetEdgeColor(float r,float g,float b);
- void GetEdgeColor(float& r,float& g,float& b);
- void SetEdgeHighlightColor(float r,float g,float b);
- void GetEdgeHighlightColor(float& r,float& g,float& b);
- void SetEdgePreselectedColor(float r,float g,float b);
- void GetEdgePreselectedColor(float& r,float& g,float& b);
-
- void SetNodeColor(float r,float g,float b);
- void GetNodeColor(float& r,float& g,float& b);
+ static SMESH_Actor* New(TVisualObjPtr theVisualObj,
+ const char* theEntry,
+ const char* theName,
+ int theIsClear);
+
+ virtual void SetSufaceColor(float r,float g,float b) = 0;
+ virtual void GetSufaceColor(float& r,float& g,float& b) = 0;
+
+ virtual void SetBackSufaceColor(float r,float g,float b) = 0;
+ virtual void GetBackSufaceColor(float& r,float& g,float& b) = 0;
+
+ virtual void SetEdgeColor(float r,float g,float b) = 0;
+ virtual void GetEdgeColor(float& r,float& g,float& b) = 0;
+
+ virtual void SetNodeColor(float r,float g,float b) = 0;
+ virtual void GetNodeColor(float& r,float& g,float& b) = 0;
+
+ virtual void SetHighlightColor(float r,float g,float b) = 0;
+ virtual void GetHighlightColor(float& r,float& g,float& b) = 0;
+
+ virtual void SetPreHighlightColor(float r,float g,float b) = 0;
+ virtual void GetPreHighlightColor(float& r,float& g,float& b) = 0;