Open CASCADE Technology 7.8.2.dev
|
Auxiliary procedures to prepare Shaded presentation of specified shape. More...
#include <StdPrs_ShadedShape.hxx>
Static Public Member Functions | |
static void | Add (const Handle< Prs3d_Presentation > &thePresentation, const TopoDS_Shape &theShape, const Handle< Prs3d_Drawer > &theDrawer, const StdPrs_Volume theVolume=StdPrs_Volume_Autodetection, const Handle< Graphic3d_Group > &theGroup=NULL) |
Shades <theShape>. | |
static void | Add (const Handle< Prs3d_Presentation > &thePresentation, const TopoDS_Shape &theShape, const Handle< Prs3d_Drawer > &theDrawer, const Standard_Boolean theHasTexels, const gp_Pnt2d &theUVOrigin, const gp_Pnt2d &theUVRepeat, const gp_Pnt2d &theUVScale, const StdPrs_Volume theVolume=StdPrs_Volume_Autodetection, const Handle< Graphic3d_Group > &theGroup=NULL) |
Shades <theShape> with texture coordinates. | |
static void | ExploreSolids (const TopoDS_Shape &theShape, const BRep_Builder &theBuilder, TopoDS_Compound &theClosed, TopoDS_Compound &theOpened, const Standard_Boolean theIgnore1DSubShape) |
Searches closed and unclosed subshapes in shape structure and puts them into two compounds for separate processing of closed and unclosed sub-shapes. | |
static void | AddWireframeForFreeElements (const Handle< Prs3d_Presentation > &thePrs, const TopoDS_Shape &theShape, const Handle< Prs3d_Drawer > &theDrawer) |
Computes wireframe presentation for free wires and vertices. | |
static void | AddWireframeForFacesWithoutTriangles (const Handle< Prs3d_Presentation > &thePrs, const TopoDS_Shape &theShape, const Handle< Prs3d_Drawer > &theDrawer) |
Computes special wireframe presentation for faces without triangulation. | |
static Handle< Graphic3d_ArrayOfTriangles > | FillTriangles (const TopoDS_Shape &theShape) |
Create primitive array with triangles for specified shape. | |
static Handle< Graphic3d_ArrayOfTriangles > | FillTriangles (const TopoDS_Shape &theShape, const Standard_Boolean theHasTexels, const gp_Pnt2d &theUVOrigin, const gp_Pnt2d &theUVRepeat, const gp_Pnt2d &theUVScale) |
Create primitive array of triangles for specified shape. | |
static Handle< Graphic3d_ArrayOfSegments > | FillFaceBoundaries (const TopoDS_Shape &theShape, GeomAbs_Shape theUpperContinuity=GeomAbs_CN) |
Define primitive array of boundary segments for specified shape. | |
![]() | |
static Handle< Graphic3d_Group > | CurrentGroup (const Handle< Prs3d_Presentation > &thePrs3d) |
static Handle< Graphic3d_Group > | NewGroup (const Handle< Prs3d_Presentation > &thePrs3d) |
Auxiliary procedures to prepare Shaded presentation of specified shape.
|
static |
Shades <theShape> with texture coordinates.
theVolumeType | defines the way how to interpret input shapes - as Closed volumes (to activate back-face culling and capping plane algorithms), as Open volumes (shells or solids with holes) or to perform Autodetection (would split input shape into two groups) |
|
static |
Shades <theShape>.
theVolumeType | defines the way how to interpret input shapes - as Closed volumes (to activate back-face culling and capping plane algorithms), as Open volumes (shells or solids with holes) or to perform Autodetection (would split input shape into two groups) |
|
static |
Computes special wireframe presentation for faces without triangulation.
|
static |
Computes wireframe presentation for free wires and vertices.
|
static |
Searches closed and unclosed subshapes in shape structure and puts them into two compounds for separate processing of closed and unclosed sub-shapes.
|
static |
Define primitive array of boundary segments for specified shape.
theShape | segments array or NULL if specified face does not have computed triangulation |
theUpperContinuity | the most edge continuity class to be included to result (edges with more continuity will be ignored) |
|
inlinestatic |
Create primitive array with triangles for specified shape.
theShape | [in] the shape with precomputed triangulation |
|
static |
Create primitive array of triangles for specified shape.
theShape | the shape with precomputed triangulation |
theHasTexels | define UV coordinates in primitive array |
theUVOrigin | origin for UV coordinates |
theUVRepeat | repeat parameters for UV coordinates |
theUVScale | scale coefficients for UV coordinates |