Represents a single 2D drawing of a model. More...
#include <cadex/Drawing/Drawing.hxx>
Classes | |
| class | LayerIterator |
| Iterator over layers of a drawing. More... | |
| class | SheetIterator |
| Iterator over sheets of a drawing. More... | |
Public Member Functions | |
| Drawing () | |
| Constructor. Creates an empty drawing. | |
| Drawing (const Sheet &theSheet) | |
| Constructor. Creates a drawing with a single sheet. | |
| size_t | NumberOfSheets () const |
| Returns the number of sheets in the drawing. | |
| void | AddSheet (const Sheet &theSheet) |
| Adds a sheet to the drawing. | |
| size_t | NumberOfLayers () const |
| Returns the number of layers in the drawing. | |
| void | AddLayer (const Layer &theLayer) |
| Adds a layer to the drawing. | |
Public Member Functions inherited from cadex::BaseObject | |
| size_t | Id () const |
| Return unique identifier of public object. | |
| internal::BaseObjectImpl * | Impl () const |
| bool | IsNull () const |
| operator bool () const | |
| template<typename T > | |
| bool | IsOfType () const |
| template<typename T > | |
| T * | Impl () const |
| Reserved for internal use. | |
Static Public Member Functions | |
| static bool | CompareType (const BaseObject &theObject) |
Additional Inherited Members | |
Public Types inherited from cadex::BaseObject | |
| typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Protected Member Functions inherited from cadex::BaseObject | |
| BaseObject (const ImplType &theImpl) | |
Represents a single 2D drawing of a model.
Encapsulates sheets, views and layers with various 2D geometry. An object of this class is a counterpart to the Model class, meaning that it's meant to represesnt all drawing-related information for a single 3D model. In case the model is entirely 2D, an object corresponds to a single input file.