|
CFx SDK Documentation 2026 SP0
|
#include <IfcSurfaceTextureAutoImpl.h>
Public Member Functions | |
| OdDAI::Boolean | getRepeatS () const |
| void | setRepeatS (OdDAI::Boolean RepeatS) |
| OdDAI::Boolean | getRepeatT () const |
| void | setRepeatT (OdDAI::Boolean RepeatT) |
| IfcSurfaceTextureEnum | getTextureType () const |
| void | setTextureType (IfcSurfaceTextureEnum TextureType) |
| const OdDAIObjectId & | getTextureTransform () const |
| void | setTextureTransform (const OdDAIObjectId &TextureTransform) |
| IfcSurfaceTexture () | |
| 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 bool | comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) 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 OdIfc2x3::OdIfc2x3Instance | |
| 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 | |
| OdDAI::Boolean | m_RepeatS |
| OdDAI::Boolean | m_RepeatT |
| OdDAI::Enum | m_TextureType |
| OdDAIObjectId | m_TextureTransform |
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 IfcSurfaceTexture provides a 2-dimensional image-based texture map. It can either be given by referencing an external image file through an URL reference (IfcImageTexture), including the image file as a blob (long binary) into the data set (IfcBlobTexture), or by explicitly including an array of pixels (IfcPixelTexture).
<IMAGE ifc_surface_texture_example1>
Texture maps are defined in a 2D coordinate system (s, t) that ranges from [0.0, 1.0] in both directions. The bottom edge of the image corresponds to the S-axis of the texture map, and left edge of the image corresponds to the T-axis of the texture map. The lower-left pixel of the image corresponds to s=0, t=0, and the top-right pixel of the image corresponds to s=1, t=1. Texture maps can be viewed as two dimensional colour functions that, given an (s, t) coordinate, return a colour value colour(s, t).
Definition at line 68 of file Ifc2x3/IfcSurfaceTextureAutoImpl.h.
| OdIfc2x3::IfcSurfaceTexture::IfcSurfaceTexture | ( | ) |
Default constructor for the IfcSurfaceTexture class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
| OdDAI::Boolean OdIfc2x3::IfcSurfaceTexture::getRepeatS | ( | ) | const |
Returns the value of RepeatS attribute. RepeatS is the field that specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default case), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range.
| OdDAI::Boolean OdIfc2x3::IfcSurfaceTexture::getRepeatT | ( | ) | const |
Returns the value of RepeatT attribute. RepeatT is the field that specifies how the texture wraps in the T direction. If RepeatT is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the T direction so that it fills the shape. If RepeatT is FALSE, the texture coordinates are clamped in the T direction to lie within the [0.0, 1.0] range.
| const OdDAIObjectId & OdIfc2x3::IfcSurfaceTexture::getTextureTransform | ( | ) | const |
Returns the value of TextureTransform attribute. TextureTransform attribute defines a 2D transformation that is applied to the texture coordinates. It affects the way texture coordinates are applied to the surfaces of geometric representation items. The 2D transformation supports changes to the size, orientation, and position of textures on shapes. Mirroring is not allowed to be used in the IfcCartesianTransformationOperator.
| IfcSurfaceTextureEnum OdIfc2x3::IfcSurfaceTexture::getTextureType | ( | ) | const |
Returns the value of TextureType attribute. This attribute determines the purpose of texture usage.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
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 OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
| void OdIfc2x3::IfcSurfaceTexture::setRepeatS | ( | OdDAI::Boolean | RepeatS | ) |
Sets the value of RepeatS attribute. RepeatS is the field that specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range.
| RepeatS | [in] RepeatS attribute to set. |
| void OdIfc2x3::IfcSurfaceTexture::setRepeatT | ( | OdDAI::Boolean | RepeatT | ) |
Sets the value of RepeatT attribute. RepeatT is the field that specifies how the texture wraps in the T direction. If RepeatT is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the T direction so that it fills the shape. If RepeatT is FALSE, the texture coordinates are clamped in the T direction to lie within the [0.0, 1.0] range.
| RepeatT | [in] RepeatT to set. |
| void OdIfc2x3::IfcSurfaceTexture::setTextureTransform | ( | const OdDAIObjectId & | TextureTransform | ) |
Sets the value of TextureTransform attribute. TextureTransform attribute defines a 2D transformation that is applied to the texture coordinates. It affects the way texture coordinates are applied to the surfaces of geometric representation items. The 2D transformation supports changes to the size, orientation, and position of textures on shapes. Mirroring is not allowed to be used in the IfcCartesianTransformationOperator.
| TextureTransform | [in] TextureTransform to set. |
| void OdIfc2x3::IfcSurfaceTexture::setTextureType | ( | IfcSurfaceTextureEnum | TextureType | ) |
Sets the value of TextureType attribute. This attribute determines the purpose of texture usage.
| TextureType | [in] Sets the texture type. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x3::IfcBlobTexture, OdIfc2x3::IfcImageTexture, and OdIfc2x3::IfcPixelTexture.
|
protected |
Definition at line 279 of file Ifc2x3/IfcSurfaceTextureAutoImpl.h.
|
protected |
Definition at line 280 of file Ifc2x3/IfcSurfaceTextureAutoImpl.h.
|
protected |
Definition at line 282 of file Ifc2x3/IfcSurfaceTextureAutoImpl.h.
|
protected |
Definition at line 281 of file Ifc2x3/IfcSurfaceTextureAutoImpl.h.