InlineGeometryAttributeTextShape (object)¶
バージョン 2.4.0 で追加.
The InlineGeometryAttributeTextShape inherits from the InlineBaseTextShape object. It provides a shape type to draw geometry attributes as text with TextGL.
Members¶
| OGLText | oglText | |
| InlineShapeAdaptor | adaptor |
Methods¶
| InlineGeometryAttributeTextShape ( in InlineGeometryAttributeTextShape other ) | |
| InlineGeometryAttributeTextShape ( in String name, in Ref<AtlasGL> atlas ) | |
| InlineGeometryAttributeTextShape () | |
| InlineGeometryAttributeTextShape | clone ? () |
| setTextFromAttribute ! ( in Ref<AtlasGL> atlas, in UInt32 maxCharacterCount, in UInt32 decimalCount, in Vec3Attribute positionAttr, in GeometryAttribute inputAttr, in UInt32 rangeMinIndex, in SInt32 rangeMaxIndex, in UInt32 resolution, in Boolean computeGlobalPosition, in Xfo xfo, in Color color ) |
Methods in detail¶
InlineGeometryAttributeTextShape ( in InlineGeometryAttributeTextShape other )
copy constructor
InlineGeometryAttributeTextShape ( in String name, in Ref<AtlasGL> atlas )
Constructs a InlineGeometryAttributeTextShape.
| name | The name of the InlineShape |
| atlas | A reference to an AtlasGL |
InlineGeometryAttributeTextShape ()
default constructor
InlineGeometryAttributeTextShape InlineGeometryAttributeTextShape.clone? ()
clone method
InlineGeometryAttributeTextShape.setTextFromAttribute! ( in Ref<AtlasGL> atlas, in UInt32 maxCharacterCount, in UInt32 decimalCount, in Vec3Attribute positionAttr, in GeometryAttribute inputAttr, in UInt32 rangeMinIndex, in SInt32 rangeMaxIndex, in UInt32 resolution, in Boolean computeGlobalPosition, in Xfo xfo, in Color color )
Sets the text from the geometry attributes.
| atlas | A reference to an AtlasGL |
| maxCharacterCount | Maximum of characters per string |
| decimalCount | Number of decimals (of Float32 or Float64 values) |
| positionAttr | Positions, to place the text |
| inputAttr | Attributes to extract the text from |
| rangeMinIndex | Minimum range of the attributes |
| rangeMaxIndex | Maximum range of the attributes |
| resolution | Pourcent of attributes to set the text from, between 0 and 100 |
| computeGlobalPosition | If true and the attributes are the points position, draw the global geometry points position. |
| xfo | Geometry Xfo, to place the text |
| color | Text color |