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

#include <DrawTrSurf_BSplineCurve.hxx>

Inheritance diagram for DrawTrSurf_BSplineCurve:
Inheritance graph
[legend]

Public Member Functions

 DrawTrSurf_BSplineCurve (const Handle< Geom_BSplineCurve > &C)
 creates a drawable BSpline curve from a BSpline curve of
package Geom.

 DrawTrSurf_BSplineCurve (const Handle< Geom_BSplineCurve > &C, const Draw_Color &CurvColor, const Draw_Color &PolesColor, const Draw_Color &KnotsColor, const Draw_MarkerShape KnotsShape, const Standard_Integer KnotsSize, const Standard_Boolean ShowPoles, const Standard_Boolean ShowKnots, const Standard_Integer Discret, const Standard_Real Deflection, const Standard_Integer DrawMode)
 creates a drawable BSpline curve from a BSpline curve of
package Geom.

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

void DrawOn (Draw_Display &dis, const Standard_Boolean ShowPoles, const Standard_Boolean ShowKnots) const
void DrawOn (Draw_Display &dis, const Standard_Real U1, const Standard_Real U2, const Standard_Integer Pindex, const Standard_Boolean ShowPoles=Standard_True, const Standard_Boolean ShowKnots=Standard_True) const
void ShowPoles ()
void ShowKnots ()
void ClearPoles ()
void ClearKnots ()
void FindPole (const Standard_Real X, const Standard_Real Y, const Draw_Display &D, const Standard_Real Prec, Standard_Integer &Index) const
 Returns in <Index> the index of the first pole of the
curve projected by the Display <D> at a distance lower
than <Prec> from <X,Y>. If no pole is found index is
set to 0, else index is always greater than the input
value of index.

void FindKnot (const Standard_Real X, const Standard_Real Y, const Draw_Display &D, const Standard_Real Prec, Standard_Integer &Index) const
void SetPolesColor (const Draw_Color &aColor)
void SetKnotsColor (const Draw_Color &aColor)
void SetKnotsShape (const Draw_MarkerShape Shape)
Draw_MarkerShape KnotsShape () const
Draw_Color KnotsColor () const
Draw_Color PolesColor () const
virtual Handle_Draw_Drawable3D Copy () const
 For variable copy.


Constructor & Destructor Documentation

DrawTrSurf_BSplineCurve::DrawTrSurf_BSplineCurve ( const Handle< Geom_BSplineCurve > &  C,
const Draw_Color CurvColor,
const Draw_Color PolesColor,
const Draw_Color KnotsColor,
const Draw_MarkerShape  KnotsShape,
const Standard_Integer  KnotsSize,
const Standard_Boolean  ShowPoles,
const Standard_Boolean  ShowKnots,
const Standard_Integer  Discret,
const Standard_Real  Deflection,
const Standard_Integer  DrawMode 
)

Member Function Documentation

virtual Handle_Draw_Drawable3D DrawTrSurf_BSplineCurve::Copy ( ) const [virtual]

Reimplemented from DrawTrSurf_Curve.

Reimplemented from DrawTrSurf_Curve.


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