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

#include <IfcCurve.h>

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

Public Member Functions

virtual OdGe::EntityId entityId () const
 
virtual OdGeCurve3dgetGeCurveCopy () const
 
const OdGeCurve3dgetGeCurve () const
 
OdResult transfromBy (const OdGeMatrix3d &transform) ODRX_OVERRIDE
 
virtual bool is3d () const
 
void setIs3d (bool val)
 
- Public Member Functions inherited from OdIfc::OdIfcGeometricRepresentationItem
virtual OdIfcBodyVariant bodyContainer () const
 
- Public Member Functions inherited from OdIfc::OdIfcRepresentationItem
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 getMatrix (OdIfcEntityPtr pPosition, OdGeMatrix3d &matr)
 
- Protected Member Functions inherited from OdIfc::OdIfcRepresentationItem
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
 

Protected Attributes

OdGeMatrix3d m_transform
 
OdGeCurve3dPtr m_pCurve
 
- Protected Attributes inherited from OdIfc::OdIfcCachedCompound
OdGsCachem_pGsNode
 
- Protected Attributes inherited from OdIfc::OdIfcCompound
OdIfcEntitym_pEntInst
 

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 ()
 

Detailed Description

A base class that implements storing and handling data about a definition of an IfcCurve.

Definition at line 47 of file IfcCurve.h.

Member Function Documentation

◆ entityId()

virtual OdGe::EntityId OdIfc::OdIfcCurve::entityId ( ) const
inlinevirtual

Retrieves the identifier of an underlying Ge curve.

Returns
An <exref target="OdGe::EntityId"></exref> object that contains the underlaying Ge curve indentifier.

Definition at line 59 of file IfcCurve.h.

◆ getGeCurve()

const OdGeCurve3d * OdIfc::OdIfcCurve::getGeCurve ( ) const
inline

Retrieves the underlaying Ge curve object in read-only mode.

Returns
A constant raw pointer to the underlying Ge curve represented with an <exref target="OdGeCurve3d.html">OdGeCurve3d</exref> object.

Definition at line 71 of file IfcCurve.h.

◆ getGeCurveCopy()

virtual OdGeCurve3d * OdIfc::OdIfcCurve::getGeCurveCopy ( ) const
inlinevirtual

Returns a copy of the underlying Ge curve.

Returns
A raw pointer to the <exref target="OdGeCurve3d.html">OdGeCurve3d</exref> object that represents the copy of the underlaying Ge curve.

Definition at line 65 of file IfcCurve.h.

◆ getMatrix()

void OdIfc::OdIfcCurve::getMatrix ( OdIfcEntityPtr  pPosition,
OdGeMatrix3d matr 
)
protected

◆ is3d()

virtual bool OdIfc::OdIfcCurve::is3d ( ) const
inlinevirtual

Defines whether the curve is a 3D object.

Returns
true if the curve is a 3D object; otherwise, the method returns false.

Definition at line 84 of file IfcCurve.h.

◆ setIs3d()

void OdIfc::OdIfcCurve::setIs3d ( bool  val)
inline

Sets a new value of the 3D flag for the curve. 3D flag determines whether the curve is a 3D object (if it equals true) or not (in this case the flag value equals false).

Parameters
val[in] A new value of the flag to be set.

Definition at line 91 of file IfcCurve.h.

◆ transfromBy()

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

Applies the specified transformation to the object.

Parameters
transform[in] A transformation matrix to be applied.
Returns
eOk value if the transformation operation was successful; otherwise, the method returns an appropriate error code.

Reimplemented from OdIfc::OdIfcRepresentationItem.

Member Data Documentation

◆ m_pCurve

OdGeCurve3dPtr OdIfc::OdIfcCurve::m_pCurve
protected

Definition at line 98 of file IfcCurve.h.

◆ m_transform

OdGeMatrix3d OdIfc::OdIfcCurve::m_transform
protected

Definition at line 96 of file IfcCurve.h.


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