ADTF_DISPLAY_TOOLBOX  3.8.0 (ADTF 3.14.3)
Demo 2D Shape Drawer
Demo 2D Shape Drawer

Plugin Information
Plugin Filenameshape_drawer.adtfplugin
Plugin Descriptionshape_drawer.plugindescription
Plugin NameDemo 2D Shape Drawer Plugin
LicenseADTF
Support Mailsupport@digitalwerk.net
Homepage URLhttps://support.digitalwerk.net/
Plugin Versions
Plugin Version3.8.0
Plugin File Version1.0
adtf::disptb3.8.0
adtf3.14.3
adtf::ucom3.1.0
Component Information
NameDemo 2D Shape Drawer
CIDdemo_shape.2d_drawer.disptb.cid
DescriptionUse this Drawer to paint a shape onto the canvas.
TypeFilter
Properties
NameValueTypeDescriptionSubproperties
CS/Rotate0.000000tFloat32Value for the rotation angle degree around the vector x=0.0/y=0.0/z=1.0.
CS/ScaleX1.000000tFloat32Value for the uniform scale factor along the x-axis (note: z-value = 1.0).
CS/ScaleY1.000000tFloat32Value for the uniform scale factor along the y-axis (note: z-value = 1.0).
CS/TranslateX0.000000tFloat32Value for the x-axis of the translation matrix to be multiplied with the current matrix (note: z-value = 0.0).
CS/TranslateY0.000000tFloat32Value for the y-axis of the translation matrix to be multiplied with the current matrix (note: z-value = 0.0).
VisibletruetBoolIf enabled, drawer will be visible.
Z-Order1tInt32Value of the z-order.
Input Pins
NameStream TypeDescription
shape_input adtf/default Incoming shape to draw.
Runner
NameActivation TypeData TriggeredData InputThread TriggeredThread CyclicTimer TriggeredTimer IntervalDescription
process_shape_input91shape_input0000Default runner port for the input pin 'shape_input'
Input Binding Objects
NameIIDProxy OIDDescription
_drawer_managerdrawermanager.dengar.drawerlib.disptb.adtf.iidIDrawerManager interface (server).
Output Binding Objects
NameIIDProxy OIDDescription
drawer_managerdrawermanager.dengar.drawerlib.disptb.adtf.iidIDrawerManager interface (client).
Dynamic Pins
Dynamic Input Pinsfalse
Dynamic Output Pinsfalse
Dynamic Input Binding Pinsfalse
Dynamic Output Binding Pinsfalse
Input Pin Stream Types
Pin Nameshape_input
Meta Type Nameadtf/default
Stream Type Properties
NameValueTypeDescriptionSubproperties
md_data_serializedfalsetBool
md_definitions
<?xml version="1.0"?>
<ddl:ddl xmlns:ddl="ddl">
<header>
<language_version>4.01</language_version>
<author></author>
<date_creation></date_creation>
<date_change></date_change>
<description></description>
</header>
<units />
<datatypes>
<datatype name="tFloat64" size="64" description="Predefined DataType for tFloat64" arraysize="1" />
<datatype name="tUInt8" size="8" description="Predefined DataType for tUInt8" arraysize="1" min="0" max="255" />
<datatype name="tBool" size="8" description="Predefined DataType for tBool" arraysize="1" />
</datatypes>
<enums />
<structs>
<struct name="tShapeStruct" version="2" alignment="1">
<element name="type" type="tUInt8" arraysize="1">
<serialized bytepos="0" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="clearBefore" type="tBool" arraysize="1">
<serialized bytepos="1" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="roll" type="tFloat64" arraysize="1">
<serialized bytepos="2" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="pitch" type="tFloat64" arraysize="1">
<serialized bytepos="10" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="yaw" type="tFloat64" arraysize="1">
<serialized bytepos="18" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="x" type="tFloat64" arraysize="1">
<serialized bytepos="26" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="y" type="tFloat64" arraysize="1">
<serialized bytepos="34" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="z" type="tFloat64" arraysize="1">
<serialized bytepos="42" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="red" type="tUInt8" arraysize="1">
<serialized bytepos="50" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="green" type="tUInt8" arraysize="1">
<serialized bytepos="51" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="blue" type="tUInt8" arraysize="1">
<serialized bytepos="52" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="alpha" type="tUInt8" arraysize="1">
<serialized bytepos="53" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="numCoords" type="tUInt8" arraysize="1">
<serialized bytepos="54" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="coords" type="tCoordsStruct" arraysize="300">
<serialized bytepos="55" byteorder="LE" />
<deserialized alignment="1" />
</element>
</struct>
<struct name="tCoordsStruct" version="2" alignment="1">
<element name="coord" type="tFloat64" arraysize="1">
<serialized bytepos="0" byteorder="LE" />
<deserialized alignment="1" />
</element>
</struct>
</structs>
<streammetatypes />
<streams />
</ddl:ddl>
cString
md_structtShapeStructcString

Demo Shape Generator Filter

Plugin Information
Plugin Filenameshape_drawer.adtfplugin
Plugin Descriptionshape_drawer.plugindescription
Plugin NameDemo 2D Shape Drawer Plugin
LicenseADTF
Support Mailsupport@digitalwerk.net
Homepage URLhttps://support.digitalwerk.net/
Plugin Versions
Plugin Version3.8.0
Plugin File Version1.0
adtf::disptb3.8.0
adtf3.14.3
adtf::ucom3.1.0
Component Information
NameDemo Shape Generator Filter
CIDcreate_shapes.filter.disptb.cid
DescriptionUse this Filter to generate shapes that can be drawn by the shape_drawer example.
TypeFilter
Properties
NameValueTypeDescriptionSubproperties
shape/color/blue0tUInt32Blue content of the color to draw.Value Range:
minimum = 0
maximum = 255
shape/color/green0tUInt32Green content of the color to draw.Value Range:
minimum = 0
maximum = 255
shape/color/red255tUInt32Red content of the color to draw.Value Range:
minimum = 0
maximum = 255
shape/line/count10tUInt32Defintion for the amount of lines to draw (if selected).
shape/line/length200tUInt32Defintion for the line length.
shape/line/offset20tUInt32Defintion for the offset between the lines.
shape/quad/count4tUInt32Defintion for the amount of quads to draw (if selected).
shape/quad/height50tUInt32Defitnion for the width of the quads.
shape/quad/offset100tUInt32Defitnion for offset between the quads.
shape/quad/width50tUInt32Defitnion for the width of the quads.
shape/type0tUInt32Selection for the shape type.Value List:
Lines = 0
Quads = 1
Output Pins
NameStream TypeDescription
shape_output adtf/default Output pin for generated shapes.
Runner
NameActivation TypeData TriggeredData InputThread TriggeredThread CyclicTimer TriggeredTimer IntervalDescription
shape_trigger1000110000Runner to periodically trigger the function which generates the shapes.
Dynamic Pins
Dynamic Input Pinsfalse
Dynamic Output Pinsfalse
Dynamic Input Binding Pinsfalse
Dynamic Output Binding Pinsfalse
Output Pin Stream Types
Pin Nameshape_output
Meta Type Nameadtf/default
Stream Type Properties
NameValueTypeDescriptionSubproperties
md_data_serializedfalsetBool
md_definitions
<?xml version="1.0"?>
<ddl:ddl xmlns:ddl="ddl">
<header>
<language_version>4.01</language_version>
<author></author>
<date_creation></date_creation>
<date_change></date_change>
<description></description>
</header>
<units />
<datatypes>
<datatype name="tFloat64" size="64" description="Predefined DataType for tFloat64" arraysize="1" />
<datatype name="tUInt8" size="8" description="Predefined DataType for tUInt8" arraysize="1" min="0" max="255" />
<datatype name="tBool" size="8" description="Predefined DataType for tBool" arraysize="1" />
</datatypes>
<enums />
<structs>
<struct name="tShapeStruct" version="2" alignment="1">
<element name="type" type="tUInt8" arraysize="1">
<serialized bytepos="0" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="clearBefore" type="tBool" arraysize="1">
<serialized bytepos="1" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="roll" type="tFloat64" arraysize="1">
<serialized bytepos="2" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="pitch" type="tFloat64" arraysize="1">
<serialized bytepos="10" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="yaw" type="tFloat64" arraysize="1">
<serialized bytepos="18" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="x" type="tFloat64" arraysize="1">
<serialized bytepos="26" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="y" type="tFloat64" arraysize="1">
<serialized bytepos="34" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="z" type="tFloat64" arraysize="1">
<serialized bytepos="42" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="red" type="tUInt8" arraysize="1">
<serialized bytepos="50" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="green" type="tUInt8" arraysize="1">
<serialized bytepos="51" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="blue" type="tUInt8" arraysize="1">
<serialized bytepos="52" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="alpha" type="tUInt8" arraysize="1">
<serialized bytepos="53" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="numCoords" type="tUInt8" arraysize="1">
<serialized bytepos="54" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="coords" type="tCoordsStruct" arraysize="300">
<serialized bytepos="55" byteorder="LE" />
<deserialized alignment="1" />
</element>
</struct>
<struct name="tCoordsStruct" version="2" alignment="1">
<element name="coord" type="tFloat64" arraysize="1">
<serialized bytepos="0" byteorder="LE" />
<deserialized alignment="1" />
</element>
</struct>
</structs>
<streammetatypes />
<streams />
</ddl:ddl>
cString
md_structtShapeStructcString

Source Code