Open CASCADE Technology 7.8.2.dev
|
Tool for computing isoline representation for a face or surface. Depending on a flags set to the given Prs3d_Drawer instance, on-surface (is used by default) or on-triangulation isoline builder algorithm will be used. If the given shape is not triangulated, on-surface isoline builder will be applied regardless of Prs3d_Drawer flags. More...
#include <StdPrs_Isolines.hxx>
Data Structures | |
struct | PntOnIso |
Auxiliary structure defining 3D point on isoline. More... | |
struct | SegOnIso |
Auxiliary structure defining segment of isoline. More... | |
Static Public Member Functions | |
static void | Add (const Handle< Prs3d_Presentation > &thePresentation, const TopoDS_Face &theFace, const Handle< Prs3d_Drawer > &theDrawer, const Standard_Real theDeflection) |
Computes isolines presentation for a TopoDS face. This method chooses proper version of isoline builder algorithm : on triangulation or surface depending on the flag passed from Prs3d_Drawer attributes. This method is a default way to display isolines for a given TopoDS face. | |
static void | Add (const TopoDS_Face &theFace, const Handle< Prs3d_Drawer > &theDrawer, const Standard_Real theDeflection, Prs3d_NListOfSequenceOfPnt &theUPolylines, Prs3d_NListOfSequenceOfPnt &theVPolylines) |
Computes isolines presentation for a TopoDS face. This method chooses proper version of isoline builder algorithm : on triangulation or surface depending on the flag passed from Prs3d_Drawer attributes. This method is a default way to display isolines for a given TopoDS face. | |
static void | AddOnTriangulation (const Handle< Prs3d_Presentation > &thePresentation, const TopoDS_Face &theFace, const Handle< Prs3d_Drawer > &theDrawer) |
Computes isolines on triangulation and adds them to a presentation. | |
static void | AddOnTriangulation (const TopoDS_Face &theFace, const Handle< Prs3d_Drawer > &theDrawer, Prs3d_NListOfSequenceOfPnt &theUPolylines, Prs3d_NListOfSequenceOfPnt &theVPolylines) |
Computes isolines on triangulation. | |
static void | AddOnTriangulation (const Handle< Prs3d_Presentation > &thePresentation, const Handle< Poly_Triangulation > &theTriangulation, const Handle< Geom_Surface > &theSurface, const TopLoc_Location &theLocation, const Handle< Prs3d_Drawer > &theDrawer, const TColStd_SequenceOfReal &theUIsoParams, const TColStd_SequenceOfReal &theVIsoParams) |
Computes isolines on triangulation and adds them to a presentation. | |
static void | AddOnSurface (const Handle< Prs3d_Presentation > &thePresentation, const TopoDS_Face &theFace, const Handle< Prs3d_Drawer > &theDrawer, const Standard_Real theDeflection) |
Computes isolines on surface and adds them to presentation. | |
static void | AddOnSurface (const TopoDS_Face &theFace, const Handle< Prs3d_Drawer > &theDrawer, const Standard_Real theDeflection, Prs3d_NListOfSequenceOfPnt &theUPolylines, Prs3d_NListOfSequenceOfPnt &theVPolylines) |
Computes isolines on surface and adds them to presentation. | |
static void | AddOnSurface (const Handle< Prs3d_Presentation > &thePresentation, const Handle< BRepAdaptor_Surface > &theSurface, const Handle< Prs3d_Drawer > &theDrawer, const Standard_Real theDeflection, const TColStd_SequenceOfReal &theUIsoParams, const TColStd_SequenceOfReal &theVIsoParams) |
Computes isolines on surface and adds them to presentation. | |
static void | UVIsoParameters (const TopoDS_Face &theFace, const Standard_Integer theNbIsoU, const Standard_Integer theNbIsoV, const Standard_Real theUVLimit, TColStd_SequenceOfReal &theUIsoParams, TColStd_SequenceOfReal &theVIsoParams, Standard_Real &theUmin, Standard_Real &theUmax, Standard_Real &theVmin, Standard_Real &theVmax) |
Evaluate sequence of parameters for drawing uv isolines for a given face. | |
![]() | |
static Handle< Graphic3d_Group > | CurrentGroup (const Handle< Prs3d_Presentation > &thePrs3d) |
static Handle< Graphic3d_Group > | NewGroup (const Handle< Prs3d_Presentation > &thePrs3d) |
Tool for computing isoline representation for a face or surface. Depending on a flags set to the given Prs3d_Drawer instance, on-surface (is used by default) or on-triangulation isoline builder algorithm will be used. If the given shape is not triangulated, on-surface isoline builder will be applied regardless of Prs3d_Drawer flags.
|
inlinestatic |
Computes isolines presentation for a TopoDS face. This method chooses proper version of isoline builder algorithm : on triangulation or surface depending on the flag passed from Prs3d_Drawer attributes. This method is a default way to display isolines for a given TopoDS face.
thePresentation | [in] the presentation. |
theFace | [in] the face. |
theDrawer | [in] the display settings. |
theDeflection | [in] the deflection for isolines-on-surface version. |
|
inlinestatic |
Computes isolines presentation for a TopoDS face. This method chooses proper version of isoline builder algorithm : on triangulation or surface depending on the flag passed from Prs3d_Drawer attributes. This method is a default way to display isolines for a given TopoDS face.
theFace | [in] the face. |
theDrawer | [in] the display settings. |
theDeflection | [in] the deflection for isolines-on-surface version. |
|
static |
Computes isolines on surface and adds them to presentation.
thePresentation | [in] the presentation. |
theSurface | [in] the surface. |
theDrawer | [in] the display settings. |
theDeflection | [in] the deflection value. |
theUIsoParams | [in] the parameters of u isolines to compute. |
theVIsoParams | [in] the parameters of v isolines to compute. |
|
static |
Computes isolines on surface and adds them to presentation.
thePresentation | [in] the presentation. |
theFace | [in] the face. |
theDrawer | [in] the display settings. |
theDeflection | [in] the deflection value. |
|
static |
Computes isolines on surface and adds them to presentation.
theFace | [in] the face |
theDrawer | [in] the display settings |
theDeflection | [in] the deflection value |
theUPolylines | [out] the sequence of result polylines |
theVPolylines | [out] the sequence of result polylines |
|
static |
Computes isolines on triangulation and adds them to a presentation.
thePresentation | [in] the presentation. |
theTriangulation | [in] the triangulation. |
theSurface | [in] the definition of triangulated surface. The surface adapter is used to precisely evaluate isoline points using surface law and fit them on triangulation. If NULL is passed, the method will use linear interpolation of triangle node's UV coordinates to evaluate isoline points. |
theLocation | [in] the location transformation defined for triangulation (surface). |
theDrawer | [in] the display settings. |
theUIsoParams | [in] the parameters of u isolines to compute. |
theVIsoParams | [in] the parameters of v isolines to compute. |
|
static |
Computes isolines on triangulation and adds them to a presentation.
thePresentation | [in] the presentation. |
theFace | [in] the face. |
theDrawer | [in] the display settings. |
|
static |
Computes isolines on triangulation.
theFace | [in] the face. |
theDrawer | [in] the display settings. |
theUPolylines | [out] the sequence of result polylines |
theVPolylines | [out] the sequence of result polylines |
|
static |
Evaluate sequence of parameters for drawing uv isolines for a given face.
theFace | [in] the face. |
theNbIsoU | [in] the number of u isolines. |
theNbIsoV | [in] the number of v isolines. |
theUVLimit | [in] the u, v parameter value limit. |
theUIsoParams | [out] the sequence of u isoline parameters. |
theVIsoParams | [out] the sequence of v isoline parameters. |
theUmin | [out] the lower U boundary of theFace. |
theUmax | [out] the upper U boundary of theFace. |
theVmin | [out] the lower V boundary of theFace. |
theVmax | [out] the upper V boundary of theFace. |