|
MathLib
|
#include "math/SceneNode.hpp"

Public Member Functions | |
| SceneNode (Private) | |
| SceneNode (Private, std::weak_ptr< SceneNode > parent, const Math::BasicVector3D< Type > &translation, const Math::BasicQuaternion< Type > &rotation, std::string_view name) | |
| ~SceneNode ()=default | |
| std::weak_ptr< SceneNode< Type > > | parent () const |
| const SceneNodeList< Type > & | children () const |
| const Math::BasicDualQuaternion< Type > & | coordinate_system () const |
| Math::BasicDualQuaternion< Type > & | coordinate_system () |
| std::string_view | name () const |
| std::weak_ptr< SceneNode< Type > > | createChildNode (const Math::BasicVector3D< Type > &translation=Math::BasicVector3D< Type >::zero(), const Math::BasicQuaternion< Type > &rotation=Math::BasicQuaternion< Type >::identity(), std::string_view name=std::string_view()) |
| void | detachChild (std::shared_ptr< SceneNode< Type > > item_to_detach) |
| void | attachChild (std::shared_ptr< SceneNode< Type > > node) |
| Math::BasicVector3D< Type > | localToWorld (const Math::BasicVector3D< Type > &local_coordinate) const |
| Math::BasicDualQuaternion< Type > | concatenatedTransforms () const |
Static Public Member Functions | |
Creation Functions | |
| static std::shared_ptr< SceneNode< Type > > | make () |
Related Symbols | |
(Note that these are not member symbols.) | |
Type Aliases | |
| template<class T > | |
| using | SceneNodeList = std::vector< std::shared_ptr< SceneNode< T > > > |
| using | SceneNodef = SceneNode< float > |
| using | SceneNoded = SceneNode< double > |
| using | SceneNodeld = SceneNode< long double > |
Represents a transformation node in a hierarcy, or acyclic graph, structure
| Type | Use a basic type here for specializing the class for float, double, or long double. Defaults to float. |
Definition at line 40 of file SceneNode.hpp.
|
inline |
Default constructor
Definition at line 51 of file SceneNode.hpp.
|
inline |
Construct with the given translation and rotation
Definition at line 59 of file SceneNode.hpp.
|
default |
|
inline |
Definition at line 117 of file SceneNode.hpp.
|
inline |
Definition at line 87 of file SceneNode.hpp.
|
inline |
Definition at line 149 of file SceneNode.hpp.
|
inline |
Definition at line 90 of file SceneNode.hpp.
|
inline |
Definition at line 89 of file SceneNode.hpp.
|
inline |
Definition at line 94 of file SceneNode.hpp.
|
inline |
Removes the given SceneNode from its list of children
Definition at line 105 of file SceneNode.hpp.
|
inline |
Definition at line 125 of file SceneNode.hpp.
|
inlinestatic |
Creates a default-constructed SceneNode
Definition at line 79 of file SceneNode.hpp.
|
inline |
Definition at line 92 of file SceneNode.hpp.
|
inline |
Definition at line 85 of file SceneNode.hpp.
|
related |
Definition at line 179 of file SceneNode.hpp.
|
related |
Definition at line 178 of file SceneNode.hpp.
|
related |
Definition at line 180 of file SceneNode.hpp.
|
related |
Definition at line 25 of file SceneNode.hpp.