|
CFx SDK Documentation 2026 SP0
|
#include <IfcImageTextureAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getURLReference () const |
| void | setURLReference (const OdAnsiString &URLReference) |
| IfcImageTexture () | |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
| virtual bool | isKindOf (OdIfc::OdIfcEntityType entityType) const override |
| virtual OdIfc::OdIfcEntityType | type () const override |
| virtual OdRxValue | getAttr (const OdIfc::OdIfcAttribute attrDef) const override |
| virtual void | unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override |
| virtual bool | testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override |
| virtual bool | putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override |
Public Member Functions inherited from OdIfc4x2::IfcSurfaceTexture | |
| OdDAI::Boolean | getRepeatS () const |
| void | setRepeatS (OdDAI::Boolean RepeatS) |
| OdDAI::Boolean | getRepeatT () const |
| void | setRepeatT (OdDAI::Boolean RepeatT) |
| const OdAnsiString & | getMode () const |
| void | setMode (const OdAnsiString &Mode) |
| const OdDAIObjectId & | getTextureTransform () const |
| void | setTextureTransform (const OdDAIObjectId &TextureTransform) |
| void | getParameter (OdArray< OdAnsiString > &Parameter) const |
| OdDAI::ListOfOdAnsiString & | parameter () |
| void | getInvIsMappedBy (OdDAIObjectIds &IsMappedBy) const |
| void | getInvUsedInStyles (OdDAIObjectIds &UsedInStyles) const |
| IfcSurfaceTexture () | |
Public Member Functions inherited from OdIfc4x2::OdIfc4x2Instance | |
| void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc::OdIfcInstance | |
| ODRX_DECLARE_MEMBERS (OdIfcInstance) | |
| OdIfcInstance () | |
| ~OdIfcInstance () | |
| bool | isInstanceOf (OdIfcEntityType entityType) const |
| IfcOpResult | resolved () |
| void | resolve (IfcOpResult resolved, void *resPtr) |
| void | unresolve () |
| virtual void | setGsNode (OdGsCache *pGsNode) |
| virtual OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdAnsiString | m_URLReference |
Protected Attributes inherited from OdIfc4x2::IfcSurfaceTexture | |
| OdDAI::Boolean | m_RepeatS |
| OdDAI::Boolean | m_RepeatT |
| OdAnsiString | m_Mode |
| OdDAIObjectId | m_TextureTransform |
| OdDAI::ListOfOdAnsiString | m_Parameter |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of a geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. The following definitions from ISO/IEC 19775-1 X3D Architecture and base components (X3D Specification) apply: Greyscale pixels without alpha or simple transparency are treated as intensity textures. Greyscale pixels with alpha or simple transparency are treated as intensity plus alpha textures. RGB pixels without alpha channel or simple transparency are treated as full RGB textures. RGB pixels with alpha channel or simple transparency are treated as full RGB plus alpha textures. If the image specifies colours as indexed-colour (that is, palettes or colourmaps), the following semantics should be used (note that ‘greyscale’ refers to a palette entry with equal red, green, and blue values):
\changes
IFC4 changes: Attribute UrlReference renamed to URLReference. Type of the UrlReference attribute changed from "IfcIdentifier" to "IfcURIReference".
Definition at line 64 of file Ifc4x2/IfcImageTextureAutoImpl.h.
| OdIfc4x2::IfcImageTexture::IfcImageTexture | ( | ) |
Default constructor for the IfcImageTexture class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
| const OdAnsiString & OdIfc4x2::IfcImageTexture::getURLReference | ( | ) | const |
Returns the value of URLReference attribute. This attribute represents location, provided as an URI, at which the image texture is published.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
| void OdIfc4x2::IfcImageTexture::setURLReference | ( | const OdAnsiString & | URLReference | ) |
Sets the value of URLReference attribute. This attribute represents location, provided as an URI, at which the image texture is published.
| URLReference | [in] URL Reference to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcSurfaceTexture.
|
protected |
Definition at line 203 of file Ifc4x2/IfcImageTextureAutoImpl.h.