CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Friends | List of all members
OdIfc::OdIfcRepresentationItem Class Reference

#include <IfcRepresentationItem.h>

Inheritance diagram for OdIfc::OdIfcRepresentationItem:
OdIfc::OdIfcCachedCompound OdIfc::OdIfcCompound OdGiDrawable OdRxObject OdIfc::OdIfcGeometricRepresentationItem OdIfc::OdIfcCurve OdIfc::OdIfcSegment OdIfc::OdIfcCurveSegment

Public Member Functions

virtual ~OdIfcRepresentationItem ()
 
virtual void compose ()
 
virtual bool draw (OdGiWorldDraw *pWd) const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdResult transfromBy (const OdGeMatrix3d &transform)
 
- Public Member Functions inherited from OdIfc::OdIfcCachedCompound
 OdIfcCachedCompound ()
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
- Public Member Functions inherited from OdIfc::OdIfcCompound
virtual void compose ()
 
OdIfcEntityType type ()
 
OdRxValue getAttr (const OdIfcAttribute attrDef) const
 
virtual OdRxValue getAttr (const OdAnsiString &attrName) const
 
OdIfcModelowningModel () const
 
bool isKindOf (OdIfcEntityType type) const
 
bool isInstanceOf (OdIfcEntityType entityType) const
 
const OdAnsiString & typeName ()
 
OdIfcFileowningIfcFile () const
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual void subViewportDraw (OdGiViewportDraw *vd) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual bool isPersistent () const =0
 
virtual OdDbStub * id () const =0
 
virtual void setGsNode (OdGsCache *pGsNode)=0
 
virtual OdGsCachegsNode () const =0
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Member Functions

void updateTraitsAuxData (OdGiWorldDraw *wd) const
 
void resetTraitsAuxData (OdGiWorldDraw *wd) const
 
OdResult setAttributes (OdGiWorldDraw *pWd) const
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const =0
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const =0
 
virtual void subViewportDraw (OdGiViewportDraw *vd) const =0
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 

Friends

class OdIfcShapeRepresentation
 

Additional Inherited Members

- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kDrawableNotAllowLCS = 32768 , kDrawableMergeControlOff = 65536 , kLastFlag = kDrawableMergeControlOff
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground
}
 
- Static Public Member Functions inherited from OdIfc::OdIfcCompound
static OdIfcEntityPtr earlyAccess (OdIfcCompound *pInst)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Attributes inherited from OdIfc::OdIfcCachedCompound
OdGsCachem_pGsNode
 
- Protected Attributes inherited from OdIfc::OdIfcCompound
OdIfcEntitym_pEntInst
 

Detailed Description

The class that implements work with a representation items for IFC SDK.

Definition at line 43 of file IfcRepresentationItem.h.

Constructor & Destructor Documentation

◆ ~OdIfcRepresentationItem()

virtual OdIfc::OdIfcRepresentationItem::~OdIfcRepresentationItem ( )
virtual

Destroys the representation item object.

Member Function Documentation

◆ compose()

virtual void OdIfc::OdIfcRepresentationItem::compose ( )
virtual

Composes the representation item object.

Reimplemented from OdIfc::OdIfcCompound.

Reimplemented in OdIfc::OdIfcCurveSegment, and OdIfc::OdIfcSegment.

◆ draw()

virtual bool OdIfc::OdIfcRepresentationItem::draw ( OdGiWorldDraw pWd) const
virtual

Draws the representation item to the <exref target="https://docs.opendesign.com/tv/OdGiWorldDraw.html">OdGiWorldDraw interface</exref>.

Parameters
pWd[in] A raw pointer to the object for the entity-level vectorization.
Returns
true if the representation item was successfully drawn; otherwise, the method returns false.

Reimplemented in OdIfc::OdIfcSegment, and OdIfc::OdIfcCurveSegment.

◆ resetTraitsAuxData()

void OdIfc::OdIfcRepresentationItem::resetTraitsAuxData ( OdGiWorldDraw wd) const
protected

◆ setAttributes()

OdResult OdIfc::OdIfcRepresentationItem::setAttributes ( OdGiWorldDraw pWd) const
protected

◆ subSetAttributes()

virtual OdUInt32 OdIfc::OdIfcRepresentationItem::subSetAttributes ( OdGiDrawableTraits pTraits) const
virtual

Sets the values of the representation item's sub-entity traits.

Parameters
pTraits[out] A raw pointer to the traits to be filled and returned to a calling subroutine.
Returns
The result of the value setting.

Reimplemented from OdIfc::OdIfcCompound.

◆ subWorldDraw()

virtual bool OdIfc::OdIfcRepresentationItem::subWorldDraw ( OdGiWorldDraw wd) const
virtual

Draws graphical representation of the item that is independent on any view port contexts.

Parameters
wd[in] A raw pointer to the object that encapsulates parameters of view port independent vectorization.
Returns
true if the drawing was successful; otherwise, the method returns false.

Reimplemented from OdIfc::OdIfcCompound.

◆ transfromBy()

virtual OdResult OdIfc::OdIfcRepresentationItem::transfromBy ( const OdGeMatrix3d transform)
virtual

Transforms the representation item by a specified transformation matrix.

Parameters
transform[in] A transformation matrix object.
Returns
eOk if the transformation operation succeeds; otherwise, the method returns an appropriate error code.

Reimplemented in OdIfc::OdIfcCurve.

◆ updateTraitsAuxData()

void OdIfc::OdIfcRepresentationItem::updateTraitsAuxData ( OdGiWorldDraw wd) const
protected

Friends And Related Function Documentation

◆ OdIfcShapeRepresentation

friend class OdIfcShapeRepresentation
friend

Definition at line 94 of file IfcRepresentationItem.h.


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