DataTag_Points,
DataTag_Sections,
DataTag_PolylineShape,
- DataTag_WireColor,
+ DataTag_WireColor, //DEPRECATED; DataTag_SectionColors for coloring of individual section of polyline
DataTag_SectionColors,
};
/**
* Returns wire color of object.
*/
- HYDRODATA_EXPORT virtual QColor GetWireColor() const;
+ HYDRODATA_EXPORT virtual QColor GetWireColor() const; //DEPRECATED
/**
* Returns default wire color for new object.
HYDRODATA_EXPORT TopoDS_Shape GetShape() const;
HYDRODATA_EXPORT void SetShape( const TopoDS_Shape& theShape );
- HYDRODATA_EXPORT void setSectionColor( const int theSectionIndex,
- const QColor& theColor ) const;
+ HYDRODATA_EXPORT virtual void SetSectionColor( const int theSectionIndex, const QColor& theColor );
- HYDRODATA_EXPORT bool getSectionColor( const int theSectionIndex, QColor &theColor) const;
+ HYDRODATA_EXPORT virtual bool GetSectionColor( const int theSectionIndex, QColor &theColor) const;
HYDRODATA_EXPORT void removeSectionColor( const int theSectionIndex = -1 ) const;
void removePointsLists( const int theSectionIndex = -1 ) const;
+ void setPythonPolylineSectionColor( QStringList& theScript,
+ const int theSectIndex,
+ const QColor& theColor ) const;
protected: