8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_TEXT_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_TEXT_H
19 namespace SceneDescription
This class is the base class for all texts.
Definition: rendering/Text.h:39
This class implements a node specification object.
Definition: scenedescription/Node.h:77
This class implements a x3d text node.
Definition: scenedescription/sdx/x3d/Text.h:33
void applyString(Rendering::Text &text) const
Applies the string field.
MultiVector2 lineBounds_
LineBounds field.
Definition: scenedescription/sdx/x3d/Text.h:88
MultiString string_
String field.
Definition: scenedescription/sdx/x3d/Text.h:85
SingleFloat maxExtent_
MaxExtent field.
Definition: scenedescription/sdx/x3d/Text.h:82
SingleVector2 textBounds_
TextBounds field.
Definition: scenedescription/sdx/x3d/Text.h:94
Text(const SDXEnvironment *environment)
Creates a x3d cylinder node.
NodeSpecification specifyNode()
Specifies the node type and the fields of this node.
size_t objectAddress() const override
Returns the address of the most derived object.
SingleBool solid_
Solid filed.
Definition: scenedescription/sdx/x3d/Text.h:97
void onInitialize(const Rendering::SceneRef &scene, const Timestamp timestamp) override
Event function to inform the node that it has been initialized and can apply all internal values to c...
void onFieldChanged(const std::string &fieldName) override
Event function to inform the node about a changed field.
SingleVector3 origin_
Origin field.
Definition: scenedescription/sdx/x3d/Text.h:91
MultiFloat length_
Lenght field.
Definition: scenedescription/sdx/x3d/Text.h:79
SingleNode fontStyle_
FontStyle field.
Definition: scenedescription/sdx/x3d/Text.h:76
This class implements an abstract x3d geometry node.
Definition: X3DGeometryNode.h:31
This class implements a node environment container.
Definition: SDXNode.h:62
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15