#include <TopoDS_Face.hxx>
#include <TopoDS_Wire.hxx>
-class Handle(HYDROData_Polyline3D);
-class Handle(HYDROData_Profile);
-class TopTools_SequenceOfShape;
-class TopTools_ListOfShape;
-
-DEFINE_STANDARD_HANDLE(HYDROData_Channel, HYDROData_ArtificialObject)
+class HYDROData_Polyline3D;
+class HYDROData_Profile;
/**\class HYDROData_Channel
* \brief
DataTag_First = HYDROData_ArtificialObject::DataTag_First + 100, ///< first tag, to reserve
DataTag_GuideLine,
DataTag_Profile,
+ DataTag_EquiDistance,
};
public:
-
- DEFINE_STANDARD_RTTI(HYDROData_Channel);
+ DEFINE_STANDARD_RTTIEXT(HYDROData_Channel, HYDROData_ArtificialObject);
public:
*/
HYDRODATA_EXPORT static bool CreatePresentations( const Handle(HYDROData_Polyline3D)& theGuideLine,
const Handle(HYDROData_Profile)& theProfile,
- PrsDefinition& thePrs );
+ PrsDefinition& thePrs,
+ double theEquiDistance );
public:
/**
* Dump object to Python script representation.
*/
- HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( const QString& thePyScriptPath,
+ MapOfTreatedObjects& theTreatedObjects ) const;
/**
* Returns the list of all reference objects of this object.
*/
HYDRODATA_EXPORT virtual void RemoveProfile();
+ HYDRODATA_EXPORT void SetEquiDistance( double );
+ HYDRODATA_EXPORT double GetEquiDistance() const;
protected:
/**