#include <ViewerData_AISShape.hxx>
#include <Standard_DefineHandle.hxx>
#include <TopoDS_Compound.hxx>
+#include <Prs3d_IsoAspect.hxx>
#include <QMap>
/// \return false if parameter is out of [0, 1]
Standard_EXPORT bool setHiddenSubShapeTransparency(double theTransparency);
+ /// Returns the original shape of the presentation
Standard_EXPORT TopoDS_Shape originalShape() const { return myOriginalShape; }
+ /// Returns True if the original shape is substituted by a corresponded shell
Standard_EXPORT bool isSubstituted() const { return myIsSubstituted; }
+ /// Set number of Iso-lines
+ /// \param theU a number of U Iso-lines
+ /// \param theV a number of V Iso-lines
+ Standard_EXPORT void setIsolinesNumber(int theU, int theV) {
+ myUIsoAspect->SetNumber(theU); myVIsoAspect->SetNumber(theV);
+ }
+
+ /// Returns number of U Iso-lines
+ Standard_EXPORT int UIsoLines() const {
+ return myUIsoAspect->Number();
+ }
+
+ /// Returns number of V Iso-lines
+ Standard_EXPORT int VIsoLines() const {
+ return myVIsoAspect->Number();
+ }
DEFINE_STANDARD_RTTIEXT(ModuleBase_ResultPrs, ViewerData_AISShape)
/// selection priority that will be added to the standard
/// selection priority of the selection entity
int myAdditionalSelectionPriority;
+
+ Handle(Prs3d_IsoAspect) myUIsoAspect;
+ Handle(Prs3d_IsoAspect) myVIsoAspect;
};