Exported APIs for Ifc (.ifc) Write Library. More...
Namespaces | |
| classification | |
Data Structures | |
| class | IfcCalendarDate |
| This class represents an IFC date. . More... | |
| class | IfcElement |
| This class provides several parameters for the next ifc entity to be written, as its custom property set, level, classification. It must be provided to Ifcw::InitObject method. More... | |
| class | IfcType |
| A IfcType is used to define the common properties of a certain type or style of an entity that may be applied to instances of that entity type. More... | |
| struct | ProjectInformation |
| This struct enables the user to define global properties regarding the project, construction site and building. It is used in the Ifcw::InitWrite method. More... | |
| class | WriteOptions |
| This class provides several options to tune the IFC Writer. It must be provided to Ifcw::InitWrite method. More... | |
Enumerations | |
| enum | IfcBuildingElement { IfcBeam, IfcBuildingElementProxy, IfcColumn, IfcCovering, IfcCurtainWall, IfcDoor, IfcFooting, IfcMember, IfcPlate, IfcRailing, IfcRamp, IfcRampFlight, IfcRoof, IfcSlab, IfcStair, IfcStairFlight, IfcWall, IfcWindow } |
| This enum provides commonly used ifc building elements types, to define entities to be written. It is used in the Ifcw::SetIfcBuildingElement method. More... | |
Functions | |
| DtkErrorStatus | EndObject () |
| Ends the current object. More... | |
| DtkErrorStatus | EndWrite () |
| Creation of the output file and free the Ifc Writer More... | |
| DtkErrorStatus | InitObject (IfcElement inParameters) |
| Initialize an ifcobject with various information. More... | |
| DtkErrorStatus | InitWrite (const Dtk_string &inOutputFile, const Dtk_string &inLogFile, const WriteOptions &inOptions, ProjectInformation *inProjectInfo=nullptr) |
| Initialize the Ifc Writer and the IFC version you want to write. More... | |
| Dtk_ErrorStatus | WriteEntity (const Dtk_EntityPtr &inEntity, const Dtk_transfo &inMat=Dtk_transfo()) |
| Write the entity provided in parameter. The entity corresponds to current object geometry (e.g: a Dtk_MeshPtr()) More... | |
| Dtk_ErrorStatus | WriteType (const IfcType &inType) |
| Write the type provided in parameter. The type can exists by itself without having entities related to it. More... | |
Exported APIs for Ifc (.ifc) Write Library.
This enum provides commonly used ifc building elements types, to define entities to be written.
It is used in the Ifcw::SetIfcBuildingElement method.
| DtkErrorStatus Ifcw::EndObject | ( | ) |
Ends the current object.
| DtkErrorStatus Ifcw::EndWrite | ( | ) |
Creation of the output file and free the Ifc Writer
| DtkErrorStatus Ifcw::InitObject | ( | IfcElement | inParameters | ) |
Initialize an ifcobject with various information.
| [in] | inParameters | : The parameters you want for the object to be written (see IfcElement class) |
| DtkErrorStatus Ifcw::InitWrite | ( | const Dtk_string & | inOutputFile, |
| const Dtk_string & | inLogFile, | ||
| const WriteOptions & | inOptions, | ||
| ProjectInformation * | inProjectInfo = nullptr |
||
| ) |
Initialize the Ifc Writer and the IFC version you want to write.
| [in] | inOutputFile | : Output file name |
| [in] | inLogFile | : Log file |
| [in] | inOptions | : options to tune the IFC Writer |
| Dtk_ErrorStatus Ifcw::WriteEntity | ( | const Dtk_EntityPtr & | inEntity, |
| const Dtk_transfo & | inMat = Dtk_transfo() |
||
| ) |
Write the entity provided in parameter. The entity corresponds to current object geometry (e.g: a Dtk_MeshPtr())
| [in] | inEntity | : The Entity to be written |
| [in] | inMat | : The matrice that needs to be applied before the writing |
| Dtk_ErrorStatus Ifcw::WriteType | ( | const IfcType & | inType | ) |
Write the type provided in parameter. The type can exists by itself without having entities related to it.
| [in] | inType | : The ifcType to be written |