外貌Extractor
从几何形状的前部和/或背侧提取外观样式。
输出外观样式功能可以是仅属性的功能或具有光栅几何和属性的功能,具体取决于提取的外观是否具有纹理。它将从中输出外貌港口。
如果几何图形没有从中提取的任何出现(因为它没有以提取或者几何XQuery与其任何部分不匹配),则该功能将通过该功能输出Unused港口。
有关FME中外观支持的更多信息,请参阅外貌s。
Input Ports
This transformer accepts any feature.
输出端口
The features with the extracted appearance style(s).
如果在特定外观上定义,则外观定义信息将存在于输出功能上。看看外表有关每个属性名称字符串的详细信息。
没有外观的特征。
参数
Geometry Part Selection
如果要将传输到变压器传入的几何图形的一部分仅隔离,请使用此参数。如果未指定条件,则操作将应用于各个级别的整个几何图形。
Selection can be based on structural location, geometry name, type, appearance information, traits, trait storage types, or definition reference. The syntax used is a restricted set of XQuery, where the return clause is fixed.
The basic Geometry XQuery dialog allows you to construct simple selection queries by automatically writing the necessary query based on specified test clauses. Clicking the Switch to Advanced button opens the Advanced Editor, which allows you to type a query free-form, for more expressive queries.
笔记:切换到高级模式后,您必须在返回基本模式之前清除所有参数。
分层几何形状表示为类型几何的节点,其中属性包含关于每个几何图形的特征,类型和名称的信息。
参数
此参数指定应从中提取外观的几何图形的侧面。它们可以从每个指定几何形状的前部,背部或前后提取它们。
如果输出唯一的外观设置为Yes如果外观由多个几何形状共享,则只输出样式。如果此参数设置为不, every single usage of an Appearance will output a separate feature, even if there are duplicates.
如果此参数设置为Yes, all attributes from the input feature will be copied onto the output Appearance features. The feature where the attributes are copied from is the feature which has the geometry from which that Appearance was referenced. If this parameter is set to不,然后不会将功能级别属性复制到输出外观功能上。
如果此参数设置为不, 那就不要几何特征将复制到输出外观功能上。
如果此参数设置为Yes,从引用外观的几何图形中的所有特征都将作为属性复制到输出外观功能。如果适当,还将放置在输出功能上的以下属性。这些值更详细地描述了纹理如何专门应用于所引用的几何形状。
属性名称 |
Description |
---|---|
fme_geometry_part_name |
Geometry Part Name: This is the Geometry Name that was present on the geometry part that referenced the Appearance |
fme_appearance_from_front |
从前面的外观:此属性将存在并具有值yes如果外观放在几何部分的前部。如果它未连接到前部,则不会出现此属性 |
fme_appearance_from_back. |
返回外观:此属性将存在并具有值yes如果外观放在几何部分的背面。如果未连接到后部,则不会出现此属性。 |
fme_appearance_texture_gen_info. |
外观纹理Gen Info:一般来说,这将保留了解如何为引用此外观的几何部分生成纹理坐标所需的所有细节。(纹理坐标可以被视为从中映射的方式 具体而言,该参数包含将XYZ外推到UV变换所需的数据,以将基于地坐标转换为与纹理来自相同的坐标空间。 逗号以以下格式分隔值: X,Y,Z,U1,V1,DU2,DV2,DU3,DV3,A,B,C,D,E,F 在哪里(x,y,z)是第一个选定的代表性坐标,U1,V1is the texture coordinate at that location,(DU2,DV2)is the difference between the first and second selected representative texture coordinate, and(DU2,DV2)is the difference between the first and third selected representative texture coordinate. The matrix represented byA,B,C,D,E,F允许计算两个参数值,alpha和beta,使得可以使用以下表达式来映射(x,y,z)空间 - >(u,v)空间或反向,如果用户希望将几何形状带入与栅格相同的坐标空间,或者反向,或者在进一步的特征处理中。 给定地面坐标(x,y,z), 找(紫外线): dx = x-x dy = y-y dz = z-z alpha = a * dx + b * dy + c * dz beta = d * dx + e * dy + f * dz U = alpha * du2 + beta * du3 + u1 v = alpha * dv2 + beta * dv3 + v1 例如,此属性的一个值可能是: `-0.500576565314848,0.803943350158095,4.94542140836595,-1.11022302462516e-015,1.98164442416027e-015,1.11022302462516e-016,0.999999999999999,0.999999999999999,1,-6.55663808803325,-6.16047694893307,-4.1725949293875,-0.292710919283411,5.84378207124815,3.53907266079942' |
Editing Transformer Parameters
使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅Transformer Parameter Menu Options。
变压器类别
Search FME Knowledge Center
Search for samples and information about this transformer on theFME知识中心。