ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

IfcBlobTexture

2020-12-31 07:32:25  阅读:241  来源: 互联网

标签:direction IfcBlobTexture attribute texture coordinates RasterFormat Parameter


IfcBlobTexture提供其映射到的曲面的照明参数的二维分布。纹理本身以单个二进制blob的形式给出,表示像素格式文件的内容。像素文件的文件格式由RasterFormat属性指定,允许的格式由where rule SupportedRasterFormat引导。

注意:特定于工具箱的二进制数据类型实现可能会限制二进制blob的最大长度,以捕获光栅文件内容。

有关纹理节点的解释,请参见IfcImageTexture definition。

IFC2x3中增加的新实体。

IFC4更改光栅代码的数据类型已更正为二进制。

 

Formal Propositions

RuleDescription
SupportedRasterFormat Currently the formats of bmp, jpg, gif and pgn, shall be supported.
RasterCodeByteStream The size of the raster code shall be a multiple of 8 bits.
 

 

 

 

 

 

Attribute inheritance

#AttributeTypeCardinalityDescriptionC
IfcPresentationItem
IfcSurfaceTexture
1 RepeatS IfcBoolean [1:1] The RepeatS field 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. X
2 RepeatT IfcBoolean [1:1] The RepeatT field 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. X
3 Mode IfcIdentifier [0:1] The Mode attribute is provided to control the appearance of a multi textures. The mode then controls the type of blending operation. The mode includes a MODULATE for a lit appearance, a REPLACE for a unlit appearance, and variations of the two.
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.3 MultiTexture for recommended values.
X
4 TextureTransform IfcCartesianTransformationOperator2D [0:1] The TextureTransform 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 itesm. 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 X
5 Parameter IfcIdentifier L[1:?] The Parameter attribute is provided to control the appearance of a multi textures. The applicable parameters depend on the value of the Mode attribute.
NOTE  The applicable values for the list of Parameter attributes are determined by view definitions or implementer agreements. It is recommended to use the source and the function fields described in ISO/IES 19775-1.2:2008 X3D Architecture and base components Edition 2, Part 1. See 18.4.3 MultiTexture for recommended values.
By convention, Parameter[1] shall then hold the source value, Parameter[2] the function value, Parameter[3] the base RGB color for select operations, and Parameter[4] the alpha value for select operations.
X
  IsMappedBy IfcTextureCoordinate
@Maps
S[0:?] Texture coordinates, either provided by a corresponding list of texture vertices to vertex-based geometric items or by a texture coordinate generator, that applies the surface texture to the surfaces of the geometric items. IFC4 CHANGE  New attribute added at the end of the attribute list. X
  UsedInStyles IfcSurfaceStyleWithTextures
@Textures
S[0:?]   X
IfcBlobTexture
6 RasterFormat IfcIdentifier [1:1] The format of the RasterCode often using a compression. X
7 RasterCode IfcBinary [1:1] Blob, given as a single binary, to capture the texture within one popular file (compression) format. The file format is provided by the RasterFormat attribute. X
EXPRESS Specification
ENTITY IfcBlobTexture
 SUBTYPE OF (IfcSurfaceTexture);
  RasterFormat : IfcIdentifier;
  RasterCode : IfcBinary;
 WHERE
  SupportedRasterFormat : SELF.RasterFormat IN ['BMP', 'JPG', 'GIF', 'PNG'];
  RasterCodeByteStream : BLENGTH(RasterCode) MOD 8 = 0;
END_ENTITY;

 

标签:direction,IfcBlobTexture,attribute,texture,coordinates,RasterFormat,Parameter
来源: https://www.cnblogs.com/herd/p/14214392.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有