This class defines a drawable surface.
With this class you can draw a general surface from
package Geom.
#include <DrawTrSurf_Surface.hxx>
Public Member Functions |
| DrawTrSurf_Surface (const Handle< Geom_Surface > &S) |
| default drawing mode
Just the middle isoparametric curves are drawn.
The boundaries are yellow, the isoparametric curves are blues.
For the discretisation 50 points are computed in each parametric
direction.
|
| DrawTrSurf_Surface (const Handle< Geom_Surface > &S, const Standard_Integer Nu, const Standard_Integer Nv, const Draw_Color &BoundsColor, const Draw_Color &IsosColor, const Standard_Integer Discret, const Standard_Real Deflection, const Standard_Integer DrawMode) |
Draw_Color | BoundsColor () const |
virtual void | ClearIsos () |
| rub out all the isoparametric curves.
|
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 Iso) const |
| Iso = True : Draw the isos, the boundaries, the UVMarker.
Iso = False: Only Draw the boundary and the UVMarker.
|
Handle_Geom_Surface | GetSurface () const |
Draw_Color | IsosColor () const |
void | NbIsos (Standard_Integer &Nu, Standard_Integer &Nb) const |
void | SetBoundsColor (const Draw_Color &aColor) |
void | SetIsosColor (const Draw_Color &aColor) |
virtual void | ShowIsos (const Standard_Integer Nu, const Standard_Integer Nv) |
| change the number of isoparametric curves to be drawn.
|
virtual Handle_Draw_Drawable3D | Copy () const |
| For variable copy.
|
virtual void | Dump (Standard_OStream &S) const |
| For variable dump.
|
virtual void | Whatis (Draw_Interpretor &I) const |
| For variable whatis command.
|
Protected Attributes |
Handle_Geom_Surface | surf |
Draw_Color | boundsLook |
Draw_Color | isosLook |
Standard_Integer | nbUIsos |
Standard_Integer | nbVIsos |
Constructor & Destructor Documentation
DrawTrSurf_Surface::DrawTrSurf_Surface |
( |
const Handle< Geom_Surface > & |
S | ) |
|
Member Function Documentation
Draw_Color DrawTrSurf_Surface::BoundsColor |
( |
| ) |
const |
virtual void DrawTrSurf_Surface::ClearIsos |
( |
| ) |
[virtual] |
virtual Handle_Draw_Drawable3D DrawTrSurf_Surface::Copy |
( |
| ) |
const [virtual] |
void DrawTrSurf_Surface::DrawOn |
( |
Draw_Display & |
dis | ) |
const [virtual] |
Handle_Geom_Surface DrawTrSurf_Surface::GetSurface |
( |
| ) |
const |
Draw_Color DrawTrSurf_Surface::IsosColor |
( |
| ) |
const |
void DrawTrSurf_Surface::SetBoundsColor |
( |
const Draw_Color & |
aColor | ) |
|
void DrawTrSurf_Surface::SetIsosColor |
( |
const Draw_Color & |
aColor | ) |
|
Field Documentation
The documentation for this class was generated from the following file: