|
virtual | ~CurveCreator_ICurve () |
| The destructor. More...
|
|
virtual int | getNbUndo () const =0 |
| Get number of available undo operations. More...
|
|
virtual bool | undo ()=0 |
| Undo previous operation. More...
|
|
virtual int | getNbRedo () const =0 |
| Get number of available redo operations. More...
|
|
virtual bool | redo ()=0 |
| Redo last previously "undone" operation. More...
|
|
virtual bool | clear ()=0 |
| Clear the polyline (remove all sections) More...
|
|
virtual bool | join (const std::list< int > &theSections)=0 |
| Join list of sections to one section (join all if the list is empty) More...
|
|
virtual int | getNbSections () const =0 |
| Get number of sections. More...
|
|
virtual int | addSection (const std::string &theName, const CurveCreator::SectionType theType, const bool theIsClosed)=0 |
| Add a new section. More...
|
|
virtual bool | removeSection (const int theISection)=0 |
| Removes the given sections. More...
|
|
virtual bool | isClosed (const int theISection) const =0 |
| Get "closed" flag of the specified section. More...
|
|
virtual bool | setClosed (const int theISection, const bool theIsClosed)=0 |
| Set "closed" flag of the specified section (all sections if theISection is -1). More...
|
|
virtual std::string | getSectionName (const int theISection) const =0 |
| Returns specifyed section name. More...
|
|
virtual bool | setSectionName (const int theISection, const std::string &theName)=0 |
| Set name of the specified section. More...
|
|
virtual CurveCreator::SectionType | getSectionType (const int theISection) const =0 |
| Get type of the specified section. More...
|
|
virtual bool | setSectionType (const int theISection, const CurveCreator::SectionType theType)=0 |
| Set type of the specified section (or all sections if theISection is -1). More...
|
|
virtual const
CurveCreator_ISection * | getSection (const int theSectionIndex) const =0 |
| Returns the curve section with the index. More...
|
|
virtual CurveCreator_ISection * | getSection (const int theSectionIndex)=0 |
| Returns the curve section with the index. More...
|
|
virtual CurveCreator::Dimension | getDimension () const =0 |
| Get the dimension. More...
|
|
virtual bool | addPoints (const CurveCreator::Coordinates &theCoords, const int theISection, const int theIPnt=-1)=0 |
| Insert one or several points to the specified section starting from the given theIPnt index (or add these at the end of section points if theIPnt is -1). More...
|
|
virtual bool | setPoint (const int theISection, const int theIPnt, const CurveCreator::Coordinates &theNewCoords)=0 |
| Set coordinates of specified point. More...
|
|
virtual bool | setSeveralPoints (const SectionToPointCoordsList &theSectionToPntCoords, const bool theIsToSaveDiff=true)=0 |
| Set coordinates of specified points from different sections. More...
|
|
virtual bool | removePoint (const int theISection, const int theIPnt=-1)=0 |
| Remove point with given id. More...
|
|
virtual bool | removeSeveralPoints (const SectionToPointList &theSectionToPntIDs)=0 |
| Remove several points from different sections. More...
|
|
virtual CurveCreator::Coordinates | getPoint (const int theISection, const int theIPnt) const =0 |
| Get coordinates of specified point. More...
|
|
virtual CurveCreator::Coordinates | getPoints (const int theISection=-1) const =0 |
| Get points of a section (the total points in Curve if theISection is equal to -1). More...
|
|
virtual int | getNbPoints (const int theISection) const =0 |
| Get number of points in specified section or (the total number of points in Curve if theISection is equal to -1). More...
|
|
virtual void | setSkipSorting (const bool)=0 |
| Set skip sorting flag. More...
|
|
virtual bool | canPointsBeSorted ()=0 |
| Indicates whether the points can be sorted. More...
|
|
virtual void | saveCoordDiff (const SectionToPointCoordsList &theOldCoords)=0 |
| Saves points coordinates difference. More...
|
|
virtual | Handle (AIS_InteractiveObject) getAISObject(const bool theNeedToBuild |
|