gz/rendering/base/BaseNode.hh
virtual void PreRenderChildren()
Definition: gz/rendering/base/BaseNode.hh:290
virtual void SetWorldRotation(double _r, double _p, double _y) override
Set the world rotation.
Definition: gz/rendering/base/BaseNode.hh:435
virtual bool InheritScale() const override=0
Determine if this visual inherits scale from this parent.
Represents a single posable node in the scene graph.
Definition: gz/rendering/Node.hh:37
virtual ~BaseNode()
Definition: gz/rendering/base/BaseNode.hh:199
STL class.
virtual bool HasChild(ConstNodePtr _child) const override
Determine if given node is an attached child.
Definition: gz/rendering/base/BaseNode.hh:594
virtual math::Vector3d LocalPosition() const override
Get the local position.
Definition: gz/rendering/base/BaseNode.hh:328
virtual bool HasChildName(const std::string &_name) const override
Determine if node with given name is an attached child.
Definition: gz/rendering/base/BaseNode.hh:608
virtual void SetWorldScale(double _scale) override
Set the world scale. The given scale will be assigned to the x, y, and z coordinates.
Definition: gz/rendering/base/BaseNode.hh:531
virtual bool AttachChild(NodePtr _child)=0
virtual void RemoveChildren() override
Remove all child nodes from this node This detaches all the child nodes but does not destroy them.
Definition: gz/rendering/base/BaseNode.hh:272
virtual void SetRawLocalPose(const math::Pose3d &_pose)=0
virtual void Scale(double _scale) override
Scale the current scale by the given scalar. The given scalar will be assigned to the x,...
Definition: gz/rendering/base/BaseNode.hh:556
virtual void SetLocalPosition(double _x, double _y, double _z) override
Set the local position.
Definition: gz/rendering/base/BaseNode.hh:335
Vector3< T > & Pos()
virtual math::Pose3d RawLocalPose() const =0
static const Vector3 One
virtual void AddChild(NodePtr _child) override
Add the given node to this node. If the given node is already a child, no work will be done.
Definition: gz/rendering/base/BaseNode.hh:220
virtual math::Vector3d WorldPosition() const override
Get the world position.
Definition: gz/rendering/base/BaseNode.hh:412
virtual void SetLocalScaleImpl(const math::Vector3d &_scale)=0
Implementation of the SetLocalScale function.
virtual bool DetachChild(NodePtr _child)=0
#define ignerr
virtual NodePtr ChildByName(const std::string &_name) const override
Get node with given name. If no child exists with given name, NULL will be returned.
Definition: gz/rendering/base/BaseNode.hh:622
virtual void SetLocalPose(const math::Pose3d &_pose) override
Set the local pose.
Definition: gz/rendering/base/BaseNode.hh:311
virtual math::Quaterniond WorldRotation() const override
Get the world rotation.
Definition: gz/rendering/base/BaseNode.hh:428
virtual void SetLocalScale(double _scale) override
Set the local scale. The given scale will be assigned to the x, y, and z coordinates.
Definition: gz/rendering/base/BaseNode.hh:494
virtual NodePtr RemoveChild(NodePtr _child) override
Remove (detach) the given node from this node. If the given node is not a child of this node,...
Definition: gz/rendering/base/BaseNode.hh:236
virtual void SetWorldPose(const math::Pose3d &_pose) override
Set the world pose.
Definition: gz/rendering/base/BaseNode.hh:397
virtual math::Pose3d WorldPose() const override
Get the world pose.
Definition: gz/rendering/base/BaseNode.hh:382
virtual NodePtr RemoveChildByIndex(unsigned int _index) override
Remove (detach) the node at the given index from this node. If the specified node is not a child of t...
Definition: gz/rendering/base/BaseNode.hh:263
virtual void PreRender() override
Prepare this object and any of its children for rendering. This should be called for each object in a...
Definition: gz/rendering/base/BaseNode.hh:282
math::Vector3d origin
Definition: gz/rendering/base/BaseNode.hh:188
virtual unsigned int ChildCount() const override
Get number of child nodes.
Definition: gz/rendering/base/BaseNode.hh:587
virtual void SetOrigin(double _x, double _y, double _z) override
Set position of origin. The position should be relative to the original origin of the geometry.
Definition: gz/rendering/base/BaseNode.hh:480
virtual NodeStorePtr Children() const =0
virtual math::Vector3d Origin() const override
Get position of origin.
Definition: gz/rendering/base/BaseNode.hh:473
virtual void SetWorldPosition(double _x, double _y, double _z) override
Set the world position.
Definition: gz/rendering/base/BaseNode.hh:405
virtual NodePtr ChildById(unsigned int _id) const override
Get node with given ID. If no child exists with given ID, NULL will be returned.
Definition: gz/rendering/base/BaseNode.hh:615
T endl(T... args)
Definition: gz/rendering/base/BaseNode.hh:32
virtual bool HasChildId(unsigned int _id) const override
Determine if node with given ID is an attached child.
Definition: gz/rendering/base/BaseNode.hh:601
virtual math::Quaterniond LocalRotation() const override
Get the local rotation.
Definition: gz/rendering/base/BaseNode.hh:351
virtual math::Pose3d LocalPose() const override
Get the local pose.
Definition: gz/rendering/base/BaseNode.hh:302
virtual math::Vector3d LocalScale() const override=0
Get the local scale.
virtual NodePtr RemoveChildById(unsigned int _id) override
Remove (detach) the node with the given ID from this node. If the specified node is not a child of th...
Definition: gz/rendering/base/BaseNode.hh:245
virtual void RemoveParent() override
Detach this Node from its parent. If this Node does not have a parent, no work will be done.
Definition: gz/rendering/base/BaseNode.hh:205
virtual void Destroy() override
Destroy any resources associated with this object. Invoking any other functions after destroying an o...
Definition: gz/rendering/base/BaseNode.hh:579
virtual math::Vector3d WorldScale() const override
Get the world scale.
Definition: gz/rendering/base/BaseNode.hh:517
bool IsFinite() const
virtual NodePtr ChildByIndex(unsigned int _index) const override
Get node at given index. If no child exists at given index, NULL will be returned.
Definition: gz/rendering/base/BaseNode.hh:629
virtual math::Pose3d WorldToLocal(const math::Pose3d &_pose) const override
Convert given world pose to local pose.
Definition: gz/rendering/base/BaseNode.hh:459
Quaternion< T > & Rot()
virtual void SetLocalRotation(double _r, double _p, double _y) override
Set the local rotation.
Definition: gz/rendering/base/BaseNode.hh:358
virtual NodePtr RemoveChildByName(const std::string &_name) override
Remove (detach) the node with the given name from this node. If the specified node is not a child of ...
Definition: gz/rendering/base/BaseNode.hh:254