20#include "../variant/types.h"
21#include "../primitive/types.h"
22#include "../scene/types.h"
23#include "variantmaker.h"
35 std::shared_ptr<std::vector<PrimitivePtr>>
_primitives(
const std::vector<PrimitivePtr>& primitives = {});
38 MeshPtr _mesh(
const std::shared_ptr<std::vector<PrimitivePtr>>& primitives =
nullptr,
46 const std::shared_ptr<std::vector<NodePtr>>& children =
nullptr,
49 const std::string& name =
"Node",
54 const std::shared_ptr<std::vector<NodePtr>>& children,
57 const std::string& name =
"Node",
66 const std::vector<NodePtr>& nodes,
68 std::shared_ptr<std::vector<NodePtr>>
_nodes(
const std::vector<NodePtr>& nodes = {});
75 const std::string& name =
"Pass",
79 ScenePtr _scene(
const std::shared_ptr<std::vector<PassPtr>>& passes =
nullptr,
81 const std::string& name =
"Scene");
84 const std::string& name =
"Scene");
std::shared_ptr< Mesh > MeshPtr
Definition types.h:32
std::shared_ptr< BoundingBox > BoundingBoxPtr
Definition types.h:36
CameraPtr _camera(const Matrix4fPtr &viewMatrix=_mat4(), const Matrix4fPtr &projectionMatrix=_mat4(), const Vector3fPtr &orbitPoint=_vec3())
ScenePtr _scene(const std::shared_ptr< std::vector< PassPtr > > &passes=nullptr, const BoundingBoxPtr &boundingBox=nullptr, const std::string &name="Scene")
NodePtr _node(const MeshPtr &mesh=nullptr, const std::shared_ptr< std::vector< NodePtr > > &children=nullptr, const Matrix4fPtr &transform=nullptr, const BoundingBoxPtr &boundingBox=nullptr, const std::string &name="Node", const MaterialPtr &material=nullptr, const GeometryPtr &geometry=nullptr, const QueryPtr &query=nullptr)
PassPtr _pass(const NodePtr &node=nullptr, const BackgroundPtr &background=nullptr, const CameraPtr &camera=nullptr, const TargetPtr &target=nullptr, const std::string &name="Pass", bool enabled=true)
std::shared_ptr< Geometry > GeometryPtr
Definition types.h:32
MeshPtr _mesh(const std::shared_ptr< std::vector< PrimitivePtr > > &primitives=nullptr, const BoundingBoxPtr &boundingBox=nullptr)
std::shared_ptr< Scene > ScenePtr
Definition types.h:44
std::shared_ptr< Node > NodePtr
Definition types.h:36
std::shared_ptr< Vector3f > Vector3fPtr
Definition types.h:134
std::shared_ptr< Matrix4f > Matrix4fPtr
Definition types.h:68
std::shared_ptr< Query > QueryPtr
Definition types.h:56
std::shared_ptr< Pass > PassPtr
Definition types.h:40
std::shared_ptr< Camera > CameraPtr
Definition types.h:28
std::shared_ptr< Material > MaterialPtr
Definition types.h:44
std::shared_ptr< std::vector< PrimitivePtr > > _primitives(const std::vector< PrimitivePtr > &primitives={})
std::shared_ptr< Background > BackgroundPtr
Definition types.h:28
std::shared_ptr< std::vector< NodePtr > > _nodes(const std::vector< NodePtr > &nodes={})
std::shared_ptr< Target > TargetPtr
Definition types.h:90