/src/contrib/geom-5.1.2.7/src/GEOMAlgo/GEOMAlgo_BuilderShape.cdl

http://pythonocc.googlecode.com/ · Unknown · 114 lines · 99 code · 15 blank · 0 comment · 0 complexity · 80d57b3808d330d1af8eea63eeceb3c4 MD5 · raw file

  1. -- Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
  2. --
  3. -- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
  4. -- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
  5. --
  6. -- This library is free software; you can redistribute it and/or
  7. -- modify it under the terms of the GNU Lesser General Public
  8. -- License as published by the Free Software Foundation; either
  9. -- version 2.1 of the License.
  10. --
  11. -- This library is distributed in the hope that it will be useful,
  12. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. -- Lesser General Public License for more details.
  15. --
  16. -- You should have received a copy of the GNU Lesser General Public
  17. -- License along with this library; if not, write to the Free Software
  18. -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  19. --
  20. -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
  21. --
  22. -- File: GEOMAlgo_BuilderShape.cdl
  23. -- Created:
  24. -- Author: Peter KURNEV
  25. --
  26. deferred class BuilderShape from GEOMAlgo
  27. inherits Algo from GEOMAlgo
  28. ---Purpose: Root class for algorithms that has shape as result
  29. uses
  30. Shape from TopoDS,
  31. ListOfShape from TopTools,
  32. MapOfShape from TopTools,
  33. IndexedDataMapOfShapeListOfShape from TopTools
  34. --raises
  35. is
  36. Initialize
  37. ---Purpose: Empty constructor
  38. returns BuilderShape from GEOMAlgo;
  39. ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_BuilderShape();"
  40. Shape(me)
  41. ---Purpose: Returns the result of algorithm
  42. returns Shape from TopoDS;
  43. ---C++: return const &
  44. ------------------------------------------------------------------
  45. --- The following methods are not implemented at this level.
  46. -- An empty list is returned.
  47. --- They are optional and can be redefined.
  48. ------------------------------------------------------------------
  49. Generated (me:out;
  50. theS : Shape from TopoDS)
  51. ---Purpose: Returns the list of shapes generated from the
  52. -- shape theS.
  53. returns ListOfShape from TopTools
  54. is virtual;
  55. ---C++: return const &
  56. Modified (me:out;
  57. theS : Shape from TopoDS)
  58. ---Purpose: Returns the list of shapes modified from the
  59. -- shape theS.
  60. returns ListOfShape from TopTools
  61. is virtual;
  62. ---C++: return const &
  63. IsDeleted (me:out;
  64. theS : Shape from TopoDS)
  65. ---Purpose: Returns true if the shape theS has been deleted.
  66. returns Boolean from Standard
  67. is virtual;
  68. HasDeleted (me)
  69. ---Purpose: Returns true if the at least one shape(or subshape)
  70. -- of arguments has been deleted.
  71. returns Boolean from Standard;
  72. HasGenerated (me)
  73. ---Purpose: Returns true if the at least one shape(or subshape)
  74. -- of arguments has generated shapes.
  75. returns Boolean from Standard;
  76. HasModified (me)
  77. ---Purpose: Returns true if the at least one shape(or subshape)
  78. -- of arguments has modified shapes.
  79. returns Boolean from Standard;
  80. PrepareHistory (me:out)
  81. ---Purpose: Prepare information for history support
  82. is virtual protected;
  83. --modified by NIZNHY-PKV Thu Dec 7 11:13:17 2006f
  84. ImagesResult(me)
  85. returns IndexedDataMapOfShapeListOfShape from TopTools;
  86. ---C++: return const &
  87. --modified by NIZNHY-PKV Thu Dec 7 11:13:20 2006t
  88. fields
  89. myShape : Shape from TopoDS is protected;
  90. --
  91. myHistShapes : ListOfShape from TopTools is protected;
  92. myMapShape : MapOfShape from TopTools is protected;
  93. myHasDeleted : Boolean from Standard is protected;
  94. myHasGenerated : Boolean from Standard is protected;
  95. myHasModified : Boolean from Standard is protected;
  96. --modified by NIZNHY-PKV Thu Dec 7 11:13:10 2006f
  97. myImagesResult : IndexedDataMapOfShapeListOfShape from TopTools is protected;
  98. --modified by NIZNHY-PKV Thu Dec 7 11:13:13 2006t
  99. end BuilderShape;