Class Ifc4x2::IfcTextureCoordinateGenerator

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x2::IfcTextureCoordinateGenerator : public Ifc4x2::IfcTextureCoordinate

The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements.

It is recommended to use the texture coordinate generation modes as defined in X3D.

The following definitions from ISO/IEC 19775-1 X3D Architecture and base components (X3D Specification) apply:

The TextureCoordinateGenerator supports the automatic generation of texture coordinates for geometric shapes. The mode field describes the algorithm used to compute texture coordinates.

SPHERE, CAMERASPACENORMAL, CAMERASPACEPOSITION, CAMERASPACEREFLECTIONVECTOR, SPHERE-LOCAL, COORD, COORD-EYE, NOISE, NOISE-EYE, SPHERE-REFLECT, SPHERE-REFLECT-LOCAL

NOTE The definitions of texturing within this standard have been developed in dependence on the texture component of X3D. See ISO/IEC 19775-1.2:2008 X3D Architecture and base components Edition 2, Part 1, 18 Texturing component for the definitions in the international standard.

HISTORY New entity in IFC2x2.

IFC2x2 Addendum 2 CHANGE The attribute Texturehas been deleted.

Public Functions

std::string Mode() const

The Mode attribute describes the algorithm used to compute texture coordinates.

NOTE The applicable values for the Mode attribute are determined by view definitions or implementer agreements. It is recommended to use the modes described in ISO/IES 19775-1.2:2008 X3D Architecture and base components Edition 2, Part 1. See 18.4.8 TextureCoordinateGenerator for recommended values.

void setMode(std::string v)
bool hasParameter() const

Whether the optional attribute Parameter is defined for this IfcTextureCoordinateGenerator.

std::vector<double> Parameter() const

The parameters used as arguments by the function as specified by Mode.

IFC2x4 CHANGE Made optional data type restricted to REAL.

void setParameter(std::vector<double> v)
const IfcParse::entity &declaration() const
IfcTextureCoordinateGenerator(IfcEntityInstanceData *e)
IfcTextureCoordinateGenerator(IfcTemplatedEntityList<::Ifc4x2::IfcSurfaceTexture>::ptr v1_Maps, std::string v2_Mode, boost::optional<std::vector<double>> v3_Parameter)

Public Static Functions

const IfcParse::entity &Class()