SharedItemIDSetter
Sets Shared Object IDs onto the front and/or back sides of geometries.
You may also, at the same time, generate the texture coordinates of the surfaces that are affected. Texture coordinates are only required where Raster textures are used.
可以在现有的几何定义ID上设置Geometry Instances。可以通过在单点设置几何定义ID或包含单点的聚合来创建新的几何实例。点坐标将是新几何实例的插入位置,并且聚合上可能存在的任何矩阵将用作新几何实例的放置矩阵(刻度,偏移,旋转等)。
在单个面向点上设置几何定义ID将导致点的方向作为新几何实例的放置矩阵。
Input Ports
每个输入功能应包含要设置共享对象ID的几何图,以及使用的ID,存储为特征或属性。
输出端口
All input Geometry features that have had Shared Object IDs set.
Input features where no geometry part matches the Geometry XQuery.
参数
项目设置
此参数指定是否仅限于仅限于外观,纹理,栅格或几何定义。
您可以指定的几何to set Appearances, Textures, or Rasters.
Front Side:The ID will be applied to the front side of the geometry part only.
Back Side:The ID will be applied to the back side of the geometry part only.
前后方面:The ID will be applied to both sides of the geometry part.
Use this parameter if you want to isolate only a portion of the geometry passed in to the transformer. If no criteria are specified, the action will apply to the entire geometry at all levels.
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.
Note:Once you switch to Advanced mode, you will have to clear all parameters before you can return to Basic mode.
分层几何形状表示为类型几何的节点,其中属性包含关于每个几何图形的特征,类型和名称的信息。
Shared Item ID
This parameter specifies whether to retrieve Shared Item IDs from attributes or traits.
从中检索共享项目ID的属性的名称。
The name of the trait from which to retrieve Shared Item IDs.
纹理坐标生成参数
当出现光栅结构设置,each part of the Geometry that is affected will also require texture coordinates. When this parameter isNo,始终针对由正在设置的外观影响的几何形状的每个部分计算新的纹理坐标。当此参数是Yes, new texture coordinates are only calculated on the affected parts of the geometry where they do not already exist. Existing texture coordinates are left unchanged.
This parameter specifies how the texture defined in an appearance style will be mapped onto the surface. This is only applicable to textures which have raster images.
- 表面正常:纹理沿着他们的法线投射到表面上。对于复合表面和网状物,每个儿童部件将分开处理,因为部件可以具有不同的正常。
- 从顶视图:The textures are projected onto the surfaces along a single normal – one that is perpendicular to the x-y plane. In this mode, a composite surface is considered as one single geometry when the texture coordinates are applied.
- 顶部地理学: The textures are projected onto the surfaces using coordinates calculated based on a single normal perpendicular to the x-y plane and raster georeferencing information.
- From Texture Coordinate Generation Parameters Attribute: The textures are projected onto the surfaces using information stored in thefme_appearance_texture_gen_info.attribute. This attribute can be generated by theSharedItemRetrieverorAppearanceExtractor。
You can specify how the texture is shifted in the u direction with this parameter.
You can specify how the texture is shifted in the v direction with this parameter.
Texture u Repeat Factor can be used to specify the number of times the texture is repeated in rows.
Texture v Repeat Factor can be used to specify the number of times the texture is repeated in columns.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options。
Transformer Categories
Search FME Knowledge Center
Search for samples and information about this transformer on theFME知识中心。