|
| | CurveCreator_Curve (const CurveCreator::Dimension theDimension) |
| | Constructor of the curve. More...
|
| |
| virtual | ~CurveCreator_Curve () |
| | Destructor. More...
|
| |
| virtual CurveCreator::Dimension | getDimension () const |
| | Get the dimension. More...
|
| |
| virtual std::string | getUniqSectionName () const |
| | Return unique section name. More...
|
| |
| virtual void | setDisplayer (CurveCreator_Displayer *theDisplayer) |
| | Set curve creator Displayer object. More...
|
| |
| CurveCreator_Displayer * | getDisplayer () |
| | Return curve creator Displayer object. More...
|
| |
| virtual void | removeDisplayer () |
| | Remove curve creator Displayer object. More...
|
| |
| virtual void | setUndoDepth (const int theDepth=-1) |
| | Set depth of undo operations (unlimited if theDepth is -1 or disabled if theDepth is 0) More...
|
| |
| virtual int | getUndoDepth () const |
| | Get depth of undo operations. More...
|
| |
| virtual void | startOperation () |
| |
| virtual void | finishOperation () |
| |
| virtual int | toICoord (const int theIPnt) const |
| | This method converts the point index to the index in an array of coordinates. More...
|
| |
| virtual bool | moveSectionInternal (const int theISection, const int theNewIndex) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual bool | moveSection (const int theISection, const int theNewIndex) |
| | Move section to new position in list. More...
|
| |
| void | getCoordinates (int theISection, int theIPoint, double &theX, double &theY, double &theZ) const |
| |
| virtual int | getNbUndo () const |
| | Get number of available undo operations. More...
|
| |
| virtual bool | undo () |
| | Undo previous operation. More...
|
| |
| virtual int | getNbRedo () const |
| | Get number of available redo operations. More...
|
| |
| virtual bool | redo () |
| | Redo last previously "undone" operation. More...
|
| |
| virtual bool | clearInternal () |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual bool | clear () |
| | Clear the polyline (remove all sections) More...
|
| |
| void | SetEraseAllState (bool toEraseAll) |
| | set erase-all state if true => erase all objects from viever, else remove only the current curve More...
|
| |
| bool | GetEraseAllState () const |
| | get erase-all state if true => erase all objects from viever, else remove only the current curve More...
|
| |
| virtual bool | joinInternal (const std::list< int > &theSections) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual bool | join (const std::list< int > &theSections) |
| | Join list of sections to one section (join all if the list is empty) More...
|
| |
| virtual int | getNbSections () const |
| | Get number of sections. More...
|
| |
| virtual int | addSectionInternal (const std::string &theName, const CurveCreator::SectionType theType, const bool theIsClosed, const CurveCreator::Coordinates &thePoints, const Quantity_Color &aColor) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual int | addSection (const std::string &theName, const CurveCreator::SectionType theType, const bool theIsClosed) |
| | Add a new section. More...
|
| |
| virtual int | addSection (const std::string &theName, const CurveCreator::SectionType theType, const bool theIsClosed, const CurveCreator::Coordinates &thePoints) |
| | Add a new section. More...
|
| |
| virtual bool | removeSectionInternal (const int theISection) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual bool | removeSection (const int theISection) |
| | Removes the given sections. More...
|
| |
| virtual bool | isClosed (const int theISection) const |
| | Get "closed" flag of the specified section. More...
|
| |
| virtual bool | setClosedInternal (const int theISection, const bool theIsClosed) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual bool | setClosed (const int theISection, const bool theIsClosed) |
| | Set "closed" flag of the specified section (all sections if theISection is -1). More...
|
| |
| virtual bool | setColorSection (int SectInd, Quantity_Color theNewColor) |
| | Sets color of section by index. More...
|
| |
| virtual void | setColorSectionInternal (int SectInd, Quantity_Color theNewColor) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual Quantity_Color | getLastRemovedColor () const |
| |
| virtual void | popLastRemovedColor () |
| |
| virtual Quantity_Color | getColorSection (int SectInd) const |
| | Gets color of section by index. More...
|
| |
| virtual std::string | getSectionName (const int theISection) const |
| | Returns specifyed section name. More...
|
| |
| virtual bool | setSectionNameInternal (const int theISection, const std::string &theName) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual bool | setSectionName (const int theISection, const std::string &theName) |
| | Set name of the specified section. More...
|
| |
| virtual CurveCreator::SectionType | getSectionType (const int theISection) const |
| | Get type of the specified section. More...
|
| |
| virtual bool | setSectionTypeInternal (const int theISection, const CurveCreator::SectionType theType) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual bool | setSectionType (const int theISection, const CurveCreator::SectionType theType) |
| | Set type of the specified section (or all sections if theISection is -1). More...
|
| |
| const CurveCreator_ISection * | getSection (const int theSectionIndex) const |
| | A virtual method. More...
|
| |
| CurveCreator_ISection * | getSection (const int theSectionIndex) |
| | A virtual method. More...
|
| |
| virtual bool | addPointsInternal (const CurveCreator::SectionsMap &theSectionsMap) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual bool | addPoints (const CurveCreator::Coordinates &theCoords, const int theISection, const int theIPnt=-1) |
| | Add one point to the specified section starting from the given theIPnt index (or at the end of points if theIPnt is -1). More...
|
| |
| virtual bool | setPointInternal (const CurveCreator::SectionsMap &theSectionsMap) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual bool | setPoint (const int theISection, const int theIPnt, const CurveCreator::Coordinates &theNewCoords) |
| | Set coordinates of specified point. More...
|
| |
| virtual bool | setSeveralPoints (const SectionToPointCoordsList &theSectionToPntCoords, const bool theIsToSaveDiff=true) |
| | Set coordinates of specified points from different sections. More...
|
| |
| virtual bool | removePointsInternal (const SectionToPointList &thePoints) |
| | For internal use only! Undo/Redo are not used here. More...
|
| |
| virtual bool | removePoint (const int theISection, const int theIPnt=-1) |
| | Remove point with given id. More...
|
| |
| virtual bool | removeSeveralPoints (const SectionToPointList &theSectionToPntIDs) |
| | Remove several points from different sections with given ids. More...
|
| |
| virtual CurveCreator::Coordinates | getPoint (const int theISection, const int theIPnt) const |
| | Get coordinates of specified point. More...
|
| |
| virtual | Handle (TColgp_HArray1OfPnt) GetDifferentPoints(int theISection |
| | Get points of a section (the total points in Curve if theISection is equal to -1). More...
|
| |
| CurveCreator::Coordinates | getCoords (int theISection=-1) const |
| |
| virtual int | getNbPoints (const int theISection) const |
| | 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 theIsToSkip) |
| | Set skip sorting flag. More...
|
| |
| virtual bool | canPointsBeSorted () |
| | Indicates whether the points can be sorted. More...
|
| |
| virtual void | saveCoordDiff (const SectionToPointCoordsList &theOldCoords) |
| | Saves points coordinates difference. More...
|
| |
| virtual | Handle (AIS_InteractiveObject) getAISObject(const bool theNeedToBuild |
| | Get the curve AIS object. More...
|
| |
| 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 | Handle (TColgp_HArray1OfPnt) GetDifferentPoints(int theISection |
| | 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 |
| |