CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
OdIfcModelFiller Class Reference

#include <IfcModelFiller.h>

Classes

struct  EntityDefinitions
 

Public Member Functions

virtual ~OdIfcModelFiller ()
 
OdIfcModelPtr model ()
 
OdIfc::OdIfcEntityPtr createFromScratch (const OdString &organizationName, const OdString &applicationDeveloperName, const OdString &applicationDeveloperDescription, const OdString &applicationFullName, const OdString &applicationVersion, const OdString &applicationIdentifier)
 
const OdDAIObjectId & dirX () const
 
const OdDAIObjectId & dirY () const
 
const OdDAIObjectId & dirZ () const
 
const OdDAIObjectId & origin () const
 
const OdDAIObjectId & identity () const
 
const OdDAIObjectId & dirX2D () const
 
const OdDAIObjectId & dirY2D () const
 
const OdDAIObjectId & origin2D () const
 
const OdDAIObjectId & identity2D () const
 
OdIfc::OdIfcEntityPtr person ()
 
OdIfc::OdIfcEntityPtr ownerHistory ()
 
OdIfc::OdIfcEntityPtr unitAssignment ()
 
OdIfc::OdIfcEntityPtr project ()
 
OdIfc::OdIfcEntityPtr site ()
 
OdIfc::OdIfcEntityPtr createSiUnit (const char *unitType, const char *prefix, const char *name, bool append=false)
 
OdIfc::OdIfcEntityPtr createCartesianPoint (const OdGePoint3d &p)
 
OdIfc::OdIfcEntityPtr createCartesianPoint (const OdGePoint2d &p)
 
OdIfc::OdIfcEntityPtr createDirection (const OdGeVector3d &v)
 
OdIfc::OdIfcEntityPtr createDirection (const OdGeVector2d &v)
 
OdIfc::OdIfcEntityPtr createAxis2Placement3D (const OdGeMatrix3d &m)
 
OdIfc::OdIfcEntityPtr createAxis2Placement2D (const OdGeMatrix2d &m)
 

Protected Member Functions

void initEntities ()
 
 OdIfcModelFiller (OdDAI::Model *model)
 
void appendSharedInstances ()
 

Protected Attributes

EntityDefinitions Entity
 
OdIfcModelPtr m_model
 
OdIfc::OdIfcEntityPtr m_person
 
OdIfc::OdIfcEntityPtr m_ownerHistory
 
OdIfc::OdIfcEntityPtr m_unitAssignment
 
OdIfc::OdIfcEntityPtr m_project
 
OdIfc::OdIfcEntityPtr m_site
 
OdDAIObjectId m_dirX
 
OdDAIObjectId m_dirY
 
OdDAIObjectId m_dirZ
 
OdDAIObjectId m_posOrigin
 
OdDAIObjectId m_identity
 
OdDAIObjectId m_dirX2D
 
OdDAIObjectId m_dirY2D
 
OdDAIObjectId m_posOrigin2D
 
OdDAIObjectId m_identity2D
 

Friends

class OdIfcFile
 

Detailed Description

Definition at line 32 of file IfcModelFiller.h.

Constructor & Destructor Documentation

◆ OdIfcModelFiller()

OdIfcModelFiller::OdIfcModelFiller ( OdDAI::Model *  model)
inlineprotected

Definition at line 57 of file IfcModelFiller.h.

◆ ~OdIfcModelFiller()

virtual OdIfcModelFiller::~OdIfcModelFiller ( )
inlinevirtual

Virtual destructor.

Definition at line 93 of file IfcModelFiller.h.

Member Function Documentation

◆ appendSharedInstances()

void OdIfcModelFiller::appendSharedInstances ( )
protected

Appends shared (commonly used) geometrical entities as directions aling axis etc.

◆ createAxis2Placement2D()

OdIfc::OdIfcEntityPtr OdIfcModelFiller::createAxis2Placement2D ( const OdGeMatrix2d m)

◆ createAxis2Placement3D()

OdIfc::OdIfcEntityPtr OdIfcModelFiller::createAxis2Placement3D ( const OdGeMatrix3d m)

◆ createCartesianPoint() [1/2]

OdIfc::OdIfcEntityPtr OdIfcModelFiller::createCartesianPoint ( const OdGePoint2d p)

Creates an instance of 2D IfcCartesianPoint within a model.

◆ createCartesianPoint() [2/2]

OdIfc::OdIfcEntityPtr OdIfcModelFiller::createCartesianPoint ( const OdGePoint3d p)

Creates an instance of 3D IfcCartesianPoint within a model.

◆ createDirection() [1/2]

OdIfc::OdIfcEntityPtr OdIfcModelFiller::createDirection ( const OdGeVector2d v)

Creates an instance of 2D IfcDirection within a model.

◆ createDirection() [2/2]

OdIfc::OdIfcEntityPtr OdIfcModelFiller::createDirection ( const OdGeVector3d v)

Creates an instance of 3D IfcDirection within a model.

◆ createFromScratch()

OdIfc::OdIfcEntityPtr OdIfcModelFiller::createFromScratch ( const OdString organizationName,
const OdString applicationDeveloperName,
const OdString applicationDeveloperDescription,
const OdString applicationFullName,
const OdString applicationVersion,
const OdString applicationIdentifier 
)

details Fills an empty model by predefined set of entities.

Returns
Returns a smart pointer to instantiated IfcProject.

◆ createSiUnit()

OdIfc::OdIfcEntityPtr OdIfcModelFiller::createSiUnit ( const char *  unitType,
const char *  prefix,
const char *  name,
bool  append = false 
)

◆ dirX()

const OdDAIObjectId & OdIfcModelFiller::dirX ( ) const
inline

Definition at line 117 of file IfcModelFiller.h.

◆ dirX2D()

const OdDAIObjectId & OdIfcModelFiller::dirX2D ( ) const
inline

Definition at line 123 of file IfcModelFiller.h.

◆ dirY()

const OdDAIObjectId & OdIfcModelFiller::dirY ( ) const
inline

Definition at line 118 of file IfcModelFiller.h.

◆ dirY2D()

const OdDAIObjectId & OdIfcModelFiller::dirY2D ( ) const
inline

Definition at line 124 of file IfcModelFiller.h.

◆ dirZ()

const OdDAIObjectId & OdIfcModelFiller::dirZ ( ) const
inline

Definition at line 119 of file IfcModelFiller.h.

◆ identity()

const OdDAIObjectId & OdIfcModelFiller::identity ( ) const
inline

Definition at line 121 of file IfcModelFiller.h.

◆ identity2D()

const OdDAIObjectId & OdIfcModelFiller::identity2D ( ) const
inline

Definition at line 126 of file IfcModelFiller.h.

◆ initEntities()

void OdIfcModelFiller::initEntities ( )
protected

◆ model()

OdIfcModelPtr OdIfcModelFiller::model ( )
inline

Retrieves working IFC model.

Returns
Returns smart pointer to IFC model.

Definition at line 99 of file IfcModelFiller.h.

◆ origin()

const OdDAIObjectId & OdIfcModelFiller::origin ( ) const
inline

Definition at line 120 of file IfcModelFiller.h.

◆ origin2D()

const OdDAIObjectId & OdIfcModelFiller::origin2D ( ) const
inline

Definition at line 125 of file IfcModelFiller.h.

◆ ownerHistory()

OdIfc::OdIfcEntityPtr OdIfcModelFiller::ownerHistory ( )
inline

Definition at line 129 of file IfcModelFiller.h.

◆ person()

OdIfc::OdIfcEntityPtr OdIfcModelFiller::person ( )
inline

Definition at line 128 of file IfcModelFiller.h.

◆ project()

OdIfc::OdIfcEntityPtr OdIfcModelFiller::project ( )
inline

Definition at line 131 of file IfcModelFiller.h.

◆ site()

OdIfc::OdIfcEntityPtr OdIfcModelFiller::site ( )
inline

Definition at line 132 of file IfcModelFiller.h.

◆ unitAssignment()

OdIfc::OdIfcEntityPtr OdIfcModelFiller::unitAssignment ( )
inline

Definition at line 130 of file IfcModelFiller.h.

Friends And Related Function Documentation

◆ OdIfcFile

friend class OdIfcFile
friend

Definition at line 160 of file IfcModelFiller.h.

Member Data Documentation

◆ Entity

EntityDefinitions OdIfcModelFiller::Entity
protected

Definition at line 50 of file IfcModelFiller.h.

◆ m_dirX

OdDAIObjectId OdIfcModelFiller::m_dirX
protected

Definition at line 72 of file IfcModelFiller.h.

◆ m_dirX2D

OdDAIObjectId OdIfcModelFiller::m_dirX2D
protected

Definition at line 78 of file IfcModelFiller.h.

◆ m_dirY

OdDAIObjectId OdIfcModelFiller::m_dirY
protected

Definition at line 73 of file IfcModelFiller.h.

◆ m_dirY2D

OdDAIObjectId OdIfcModelFiller::m_dirY2D
protected

Definition at line 79 of file IfcModelFiller.h.

◆ m_dirZ

OdDAIObjectId OdIfcModelFiller::m_dirZ
protected

Definition at line 74 of file IfcModelFiller.h.

◆ m_identity

OdDAIObjectId OdIfcModelFiller::m_identity
protected

Definition at line 76 of file IfcModelFiller.h.

◆ m_identity2D

OdDAIObjectId OdIfcModelFiller::m_identity2D
protected

Definition at line 81 of file IfcModelFiller.h.

◆ m_model

OdIfcModelPtr OdIfcModelFiller::m_model
protected

Definition at line 55 of file IfcModelFiller.h.

◆ m_ownerHistory

OdIfc::OdIfcEntityPtr OdIfcModelFiller::m_ownerHistory
protected

Definition at line 64 of file IfcModelFiller.h.

◆ m_person

OdIfc::OdIfcEntityPtr OdIfcModelFiller::m_person
protected

Definition at line 63 of file IfcModelFiller.h.

◆ m_posOrigin

OdDAIObjectId OdIfcModelFiller::m_posOrigin
protected

Definition at line 75 of file IfcModelFiller.h.

◆ m_posOrigin2D

OdDAIObjectId OdIfcModelFiller::m_posOrigin2D
protected

Definition at line 80 of file IfcModelFiller.h.

◆ m_project

OdIfc::OdIfcEntityPtr OdIfcModelFiller::m_project
protected

Definition at line 66 of file IfcModelFiller.h.

◆ m_site

OdIfc::OdIfcEntityPtr OdIfcModelFiller::m_site
protected

Definition at line 67 of file IfcModelFiller.h.

◆ m_unitAssignment

OdIfc::OdIfcEntityPtr OdIfcModelFiller::m_unitAssignment
protected

Definition at line 65 of file IfcModelFiller.h.


The documentation for this class was generated from the following file: