mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0025300: Visualization - Build wireframe representation consistent with the shape's triangulation
1) Remove duplicating presentation algorithms for shapes StdPrs_WFShape, StdPrs_WFDeflectionShape. 2) Rewrite Prs3d_WFShape to use deflection for non-triangulated shapes and rename it to StdPrs_WFShape. 3) Revise and correct references in code. 4) Rename StdPrs_ToolShadedShape to StdPrs_ToolTriangulatedShape (reused in StdPrs_WFShape, StdPrs_ShadedShape). 5) Add StdPrs_BndBox for drawing bounding box presentation. 6) Implemented on-triangulation isoline builder. 7) Add option -isoontriangulation to vaspects command to enable on-triangulation isoline builder for shape. 8) Drawer's maximum UV parameter value is taken into account in isolines calculation correctly. 9) Add option -setMaxParamValue to vaspects command to change drawer's maximum UV parameter value.
This commit is contained in:
@@ -826,7 +826,21 @@ public:
|
||||
//! Returns True if drawing isoparameters on planes is enabled.
|
||||
//! if <forUIsos> = False,
|
||||
Standard_EXPORT Standard_Boolean IsoOnPlane() const;
|
||||
|
||||
|
||||
//! Enables or disables on-triangulation build for isolines for a particular object.
|
||||
//! In case if on-triangulation builder is disabled, default on-plane
|
||||
//! builder will compute isolines for the object given.
|
||||
Standard_EXPORT void IsoOnTriangulation (const Standard_Boolean theIsEnabled,
|
||||
const Handle(AIS_InteractiveObject)& theObject);
|
||||
|
||||
//! Enables or disables on-triangulation build for isolines for default drawer.
|
||||
//! In case if on-triangulation builder is disabled, default on-plane
|
||||
//! builder will compute isolines for the object given.
|
||||
Standard_EXPORT void IsoOnTriangulation (const Standard_Boolean theToSwitchOn);
|
||||
|
||||
//! Returns true if drawing isolines on triangulation algorithm is enabled.
|
||||
Standard_EXPORT Standard_Boolean IsoOnTriangulation() const;
|
||||
|
||||
//! Sets the graphic basic aspect to the current presentation of
|
||||
//! ALL selected objects.
|
||||
//! When <globalChange> is TRUE , the full object presentation
|
||||
|
Reference in New Issue
Block a user