Open CASCADE Technology 6.6.0
|
This package supports the display of parametric
curves and surfaces.
The Drawable deferred classes is inherited from
the Drawable3D class from the package Draw, it
adds methods to draw 3D Curves and Curves on 3D
Surfaces.
The classes Curve Curve2d and Surface are drawable
and can be used to draw a single curve from
packages Geom or Geom2d or a surface from Geom.
The Triangulation and Polygon from the package
Poly are also supported.
#include <DrawTrSurf.hxx>
Static Public Member Functions | |
static void | Set (const Standard_CString Name, const gp_Pnt &G) |
Sets <G> in the variable <Name>. Overwrite the variable if already set. | |
static void | Set (const Standard_CString Name, const gp_Pnt2d &G) |
Sets <G> in the variable <Name>. Overwrite the variable if already set. | |
static void | Set (const Standard_CString Name, const Handle< Geom_Geometry > &G, const Standard_Boolean isSenseMarker=Standard_True) |
Sets <G> in the variable <Name>. Overwrite the variable if already set. isSenseMarker indicates whether to render the sense glyph (arrow) for curves or not | |
static void | Set (const Standard_CString Name, const Handle< Geom2d_Curve > &C, const Standard_Boolean isSenseMarker=Standard_True) |
Sets in the variable <Name>. Overwrite the | |
static void | Set (const Standard_CString Name, const Handle< Poly_Triangulation > &T) |
Sets <T> in the variable <Name>. Overwrite the variable if already set. | |
static void | Set (const Standard_CString Name, const Handle< Poly_Polygon3D > &P) |
Sets. | |
static void | Set (const Standard_CString Name, const Handle< Poly_Polygon2D > &P) |
Sets. | |
static Handle_Geom_Geometry | Get (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Standard_Boolean | GetPoint (Standard_CString &Name, gp_Pnt &P) |
Gets the variable. Returns False if none and print a warning message. | |
static Standard_Boolean | GetPoint2d (Standard_CString &Name, gp_Pnt2d &P) |
Gets the variable. Returns False if none and print a warning message. | |
static Handle_Geom_Curve | GetCurve (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Geom_BezierCurve | GetBezierCurve (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Geom_BSplineCurve | GetBSplineCurve (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Geom2d_Curve | GetCurve2d (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Geom2d_BezierCurve | GetBezierCurve2d (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Geom2d_BSplineCurve | GetBSplineCurve2d (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Geom_Surface | GetSurface (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Geom_BezierSurface | GetBezierSurface (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Geom_BSplineSurface | GetBSplineSurface (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Poly_Triangulation | GetTriangulation (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Poly_Polygon3D | GetPolygon3D (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static Handle_Poly_Polygon2D | GetPolygon2D (Standard_CString &Name) |
Get the variable <S>. Returns a null handle if none, and print a warning message. | |
static void | BasicCommands (Draw_Interpretor &I) |
defines display commands. |
static void DrawTrSurf::BasicCommands | ( | Draw_Interpretor & | I | ) | [static] |
static Handle_Geom_Geometry DrawTrSurf::Get | ( | Standard_CString & | Name | ) | [static] |
static Handle_Geom_BezierCurve DrawTrSurf::GetBezierCurve | ( | Standard_CString & | Name | ) | [static] |
static Handle_Geom2d_BezierCurve DrawTrSurf::GetBezierCurve2d | ( | Standard_CString & | Name | ) | [static] |
static Handle_Geom_BezierSurface DrawTrSurf::GetBezierSurface | ( | Standard_CString & | Name | ) | [static] |
static Handle_Geom_BSplineCurve DrawTrSurf::GetBSplineCurve | ( | Standard_CString & | Name | ) | [static] |
static Handle_Geom2d_BSplineCurve DrawTrSurf::GetBSplineCurve2d | ( | Standard_CString & | Name | ) | [static] |
static Handle_Geom_BSplineSurface DrawTrSurf::GetBSplineSurface | ( | Standard_CString & | Name | ) | [static] |
static Handle_Geom_Curve DrawTrSurf::GetCurve | ( | Standard_CString & | Name | ) | [static] |
static Handle_Geom2d_Curve DrawTrSurf::GetCurve2d | ( | Standard_CString & | Name | ) | [static] |
static Standard_Boolean DrawTrSurf::GetPoint | ( | Standard_CString & | Name, |
gp_Pnt & | P | ||
) | [static] |
static Standard_Boolean DrawTrSurf::GetPoint2d | ( | Standard_CString & | Name, |
gp_Pnt2d & | P | ||
) | [static] |
static Handle_Poly_Polygon2D DrawTrSurf::GetPolygon2D | ( | Standard_CString & | Name | ) | [static] |
static Handle_Poly_Polygon3D DrawTrSurf::GetPolygon3D | ( | Standard_CString & | Name | ) | [static] |
static Handle_Geom_Surface DrawTrSurf::GetSurface | ( | Standard_CString & | Name | ) | [static] |
static Handle_Poly_Triangulation DrawTrSurf::GetTriangulation | ( | Standard_CString & | Name | ) | [static] |
static void DrawTrSurf::Set | ( | const Standard_CString | Name, |
const gp_Pnt & | G | ||
) | [static] |
static void DrawTrSurf::Set | ( | const Standard_CString | Name, |
const Handle< Poly_Triangulation > & | T | ||
) | [static] |
static void DrawTrSurf::Set | ( | const Standard_CString | Name, |
const Handle< Poly_Polygon3D > & | P | ||
) | [static] |
in the variable <Name>. Overwrite the
variable if already set.
static void DrawTrSurf::Set | ( | const Standard_CString | Name, |
const Handle< Geom_Geometry > & | G, | ||
const Standard_Boolean | isSenseMarker = Standard_True |
||
) | [static] |
static void DrawTrSurf::Set | ( | const Standard_CString | Name, |
const Handle< Geom2d_Curve > & | C, | ||
const Standard_Boolean | isSenseMarker = Standard_True |
||
) | [static] |
static void DrawTrSurf::Set | ( | const Standard_CString | Name, |
const gp_Pnt2d & | G | ||
) | [static] |
static void DrawTrSurf::Set | ( | const Standard_CString | Name, |
const Handle< Poly_Polygon2D > & | P | ||
) | [static] |
in the variable <Name>. Overwrite the
variable if already set.