C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
DXF - converter. More...
#include <dxf_converter.h>
Public Member Functions | |
void | SetStitch (bool stitch) |
Set a flag of stitching. | |
bool | IsStitch () const |
Get flag of stitching. | |
void | SetFactor (double factor) |
Set a value of multiplier. | |
double | GetFactor () const |
Get value of multiplier. | |
void | SetProperty (IConvertorProperty3D *property) |
Specify converter properties. | |
IConvertorProperty3D * | GetProperty () |
Get converter properties. | |
void | BeginComposite () |
Initialize an empty block. | |
bool | BeginComposite (MbMatrix3D &matr, const DXFCompositeData &data) |
Initialize block with data. More... | |
bool | EndComposite () |
Complete creation of a composite element. More... | |
void | Reset () |
Clear the converter. | |
bool | Indicate (ptrdiff_t count) |
Show the current state of operation progress. | |
void | CompleteDocument (ItModelDocument &model_document, IProgressIndicator *indicator=nullptr) |
Complete the document creation. | |
void | ConvertLastComposite (uint32 defaultColor) |
Show the current state of operation progress. | |
void | AddFace (MbFace &m_face) |
Add the model face. | |
void | AddGrid (MbGrid &m_grid) |
Add the model face. | |
void | AddSolidBody (MbPlacement3D &placement, const std::vector< SPtr< MbItem > > &m_solids, const std::vector< SPtr< MbFace > > &m_faces) |
Add a solid. More... | |
void | AddSpaceCurve (MbCurve3D &spaceCurve) |
Add a spatial curves. | |
void | RemoveData (const DXFCompositeData &data) |
Delete a value from the list of read identifiers. | |
DXF - converter.
bool DXFConverter::BeginComposite | ( | MbMatrix3D & | matr, |
const DXFCompositeData & | data | ||
) |
Initialize block with data.
[in] | matr | - Matrix transforming block data to coordinate system of the enclosing block. |
[in] | data | - Data of the block. |
bool DXFConverter::EndComposite | ( | ) |
Complete creation of a composite element.
If the last composite element has:
void DXFConverter::AddSolidBody | ( | MbPlacement3D & | placement, |
const std::vector< SPtr< MbItem > > & | m_solids, | ||
const std::vector< SPtr< MbFace > > & | m_faces | ||
) |
Add a solid.
[in] | placement | - Position of the solid in LCS. |
[in] | model_solids | - Model solids. |
[in] | model_faces | - Model solids. |