Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
DrawTrSurf_Drawable Class Reference

this class adds to the Drawable3D methods to
display Curves and Curves on Surface.

The discretisation, number of points on a Curve,
is stored in this class.

#include <DrawTrSurf_Drawable.hxx>

Inheritance diagram for DrawTrSurf_Drawable:
Inheritance graph
[legend]

Public Member Functions

void DrawCurve2dOn (Adaptor2d_Curve2d &C, Draw_Display &D) const
 Draw a polygon of the curve on the Display

void DrawCurveOn (Adaptor3d_Curve &C, Draw_Display &D) const
 Draw a polygon of the curve on the Display

void DrawIsoCurveOn (Adaptor3d_IsoCurve &C, const GeomAbs_IsoType T, const Standard_Real P, const Standard_Real F, const Standard_Real L, Draw_Display &D) const
 Load C with the specified iso and Draw a polygon
of the curve on the Display

virtual void DrawOn (Draw_Display &dis) const =0
 this is defined only to tell C++ not to complain
about inheriting a pure virtual method.

void SetDiscretisation (const Standard_Integer Discret)
Standard_Integer GetDiscretisation () const
void SetDeflection (const Standard_Real Deflection)
Standard_Real GetDeflection () const
void SetDrawMode (const Standard_Integer DrawMode)
Standard_Integer GetDrawMode () const

Protected Member Functions

 DrawTrSurf_Drawable (const Standard_Integer discret, const Standard_Real deflection=0.01, const Standard_Integer DrawMode=0)
 set the number of points on a curve at creation.


Constructor & Destructor Documentation

DrawTrSurf_Drawable::DrawTrSurf_Drawable ( const Standard_Integer  discret,
const Standard_Real  deflection = 0.01,
const Standard_Integer  DrawMode = 0 
) [protected]

Member Function Documentation

virtual void DrawTrSurf_Drawable::DrawOn ( Draw_Display dis) const [pure virtual]

The documentation for this class was generated from the following file: