14#ifndef MOMENTUM_SCENEGRAPH_H
15#define MOMENTUM_SCENEGRAPH_H
17#include "momentum_namespace.h"
18#include "momentum_export.h"
The SceneGraph class provides an interface for managing and rendering graphical objects within a scen...
Definition: SceneGraph.h:46
static SceneNodePtr createAndAddPolyline(std::vector< Vec3 > points, const Vec4 &color, float width)
Create and return a new Polyine to render.
static bool removeNode(SceneNodePtr node)
Remove the given scene node from the scene graph.
static SceneNodePtr createAndAdd3DGrid(int resU, int resV, int resW, const Vec3 &origin, const Vec3 &endPointX, const Vec3 &endPointY, const Vec3 &endPointZ, const Vec4 &color, float width)
Create a uniform grid and adds it to the scene graph.
static SceneNodePtr createAndAddText(const std::string &text, const Vec3 &relPosition, const Vec4 &color, float size)
Create a text object and adds it to the scene graph.
static SceneNodePtr createAndAddLine(const Vec3 &p1, const Vec3 &p2, const Vec4 &color, float width)
Create and add a line to the scene graph.
A 3 dimensional vector which can be used to define a point or a vector and contains basic arithmetic.
Definition: Vec3.h:40
A 4 dimensional vector and contains basic arithmetic.
Definition: Vec4.h:33
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29
std::shared_ptr< SceneNode > SceneNodePtr
Definition: SceneNode.h:59
Definition: SceneGraph.h:29