// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
void ReleaseGraphicsResources(vtkWindow *);
const TopoDS_Shape& getTopo();
- void setInputShape(const TopoDS_Shape& ashape,double adef1,int imode);
+ void setInputShape(const TopoDS_Shape& ashape, double adef1,
+ int imode, bool isVector = false);
double getDeflection();
void setDeflection(double adefl);
+ double isVector() { return myIsVector; }
+
// SubShape
void SubShapeOn();
void SubShapeOff();
void SetShadingProperty(vtkProperty* Prop);
// Opacity
- void SetOpacity(float opa);
- float GetOpacity();
+ void SetOpacity(vtkFloatingPointType opa);
+ vtkFloatingPointType GetOpacity();
// Color
- void SetColor(float r,float g,float b);
- void GetColor(float& r,float& g,float& b);
+ void SetColor(vtkFloatingPointType r,vtkFloatingPointType g,vtkFloatingPointType b);
+ void GetColor(vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointType& b);
virtual bool IsInfinite() {return myIsInfinite;}
protected:
TopoDS_Shape myShape;
double deflection;
+ bool myIsVector;
vtkMapper* ShadingMapper;
vtkMapper* WireframeMapper;