IfcIndexedTriangleTextureMap

IfcIndexedTriangleTextureMap提供二维纹理坐标到其映射到的曲面的映射。它用于将纹理映射到IfcTriangulatedFaceSet的三角形。

IfcIndexedTriangleTextureMap将索引定义为纹理坐标的索引列表。TexCoordIndex是一个二维列表,其中

●第一个维度是与在IfcTriangulatedFaceSet处由CoordIndex定义的三角形列表相对应的无界面列表;

●第二个维度是纹理顶点的三个索引的固定列表,与IfcTriangulatedFaceSet上的顶点索引的固定列表相对应

在超类型IfcIndexedTextureMap中定义的TexCoords是由两个参数值提供的纹理坐标的二维列表。TexCoordIndex的第二维度列表的每个索引都指向TexCoords中的纹理顶点。

 

下图显示纹理。

 

 

图-索引三角形纹理贴图

 


下面展示了一个由

IfcTriangulatedFaceSet.CoordIndex: ((1,6,5), (1,2,6), (6,2,7), (7,2,3), (7,8,6), (6,8,5), (5,8,1), (1,8,4), (4,2,1), (2,4,3), (4,8,7), (7,3,4))
IfcCartesianPointList.CoordList: ((0.,0.,0.), (1.,0.,0.), (1.,1.,0.), (0.,1.,0.), (0.,0.,2.), (1.,0.,2.), (1.,1.,2.), (0.,1.,2.))
IfcIndexedTriangleTextureMap.TexCoordsIndex: ((1 4 3), (1 2 4), (3 1 4), (4 1 2), (8 7 6), (6 7 5), (4 3 2), (2 3 1), (5 8 7), (8 5 6), (2 4 3), (3 1 2))
IfcTextureVertexList.TexCoordsList: ((0. -0.5), (1. -0.5), (0. 1.5), (1. 1.5), (0. 0.), (0. 1.), (1. 0.), (1. 1.))

 

 

图-索引三角形纹理贴图几何体

IFC4中增加的新实体。

 

 

 

Attribute inheritance

#AttributeTypeCardinalityDescriptionC
IfcPresentationItem
IfcTextureCoordinate
1 Maps IfcSurfaceTexture L[1:?] 引用通过纹理坐标变换映射到几何曲面的IfcSurfaceTexture的一个子类型(或多个子类型,如果多个纹理具有对几何曲面的标识变换)。 X
IfcIndexedTextureMap
2 MappedTo IfcTessellatedFaceSet [1:1] 对其应用纹理贴图的IfcTessellatedFaceSet的引用。 X
3 TexCoords IfcTextureVertexList [1:1] 纹理顶点的可索引列表。 X
IfcIndexedTriangleTextureMap
4 TexCoordIndex IfcPositiveInteger L[1:?]L[3:3] 索引到表示IfcTriangulatedFaceSet的三角形的每个顶点的IfcTextureVertexList中。 X
 

EXPRESS Specification

ENTITY IfcIndexedTriangleTextureMap
 SUBTYPE OF (IfcIndexedTextureMap);
  TexCoordIndex : OPTIONAL LIST [1:?] OF LIST [3:3] OF IfcPositiveInteger;
END_ENTITY;

 

posted @ 2021-01-08 05:57  西北逍遥  阅读(185)  评论(0编辑  收藏  举报