Open CASCADE Technology 6.6.0
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

void DrawTrSurf_Drawable::DrawCurve2dOn ( Adaptor2d_Curve2d C,
Draw_Display D 
) const
void DrawTrSurf_Drawable::DrawCurveOn ( Adaptor3d_Curve C,
Draw_Display D 
) const
void DrawTrSurf_Drawable::DrawIsoCurveOn ( Adaptor3d_IsoCurve C,
const GeomAbs_IsoType  T,
const Standard_Real  P,
const Standard_Real  F,
const Standard_Real  L,
Draw_Display D 
) const
virtual void DrawTrSurf_Drawable::DrawOn ( Draw_Display dis) const [pure virtual]
Standard_Real DrawTrSurf_Drawable::GetDeflection ( ) const
Standard_Integer DrawTrSurf_Drawable::GetDiscretisation ( ) const
Standard_Integer DrawTrSurf_Drawable::GetDrawMode ( ) const
void DrawTrSurf_Drawable::SetDeflection ( const Standard_Real  Deflection)
void DrawTrSurf_Drawable::SetDiscretisation ( const Standard_Integer  Discret)
void DrawTrSurf_Drawable::SetDrawMode ( const Standard_Integer  DrawMode)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines