
#include <scene.h>
Public Methods | |
| Scene (Problem *problem, string path) | |
| Scene must be initialized with the Problem that was passed to the planner. More... | |
| virtual | ~Scene () |
| Empty destructor. More... | |
| void | SetProblem (Problem *P) |
| A method for changing the associated Problem. More... | |
| virtual MSLVector | StateToSceneConfiguration (const MSLVector &x) |
| Convert the state into configurations for each body (a long MSLVector). More... | |
| virtual MSLVector | InterpolatedSceneConfiguration (const MSLVector &x1, const MSLVector &x2, const double &a) |
| Interpolate the states; convert the result to a SceneConfiguratrion. More... | |
Public Attributes | |
| string | FilePath |
| A common filepath. More... | |
| int | GeomDim |
| The geometry dimension, 2 or 3. More... | |
| int | NumBodies |
| The number of bodies in the scene. More... | |
| int | SceneConfigurationDim |
| Total degrees of freedom of the scene. More... | |
| MSLVector | LowerWorld |
| The smallest x,y,z world coordinates for the environment. More... | |
| MSLVector | UpperWorld |
| The largest x,y,z world coordinated for the environment. More... | |
| MSLVector | GlobalCameraPosition |
| The location of the default camera in x,y,z. More... | |
| MSLVector | GlobalCameraDirection |
| The direction the default camera is pointing with respect to the model. More... | |
| MSLVector | GlobalCameraZenith |
| The up direction of the default camera. More... | |
| MSLVector | AttachedCameraPosition |
| The location of the body-attached camera in x,y,z. More... | |
| MSLVector | AttachedCameraDirection |
| The direction the body-attached camera is pointing. More... | |
| MSLVector | AttachedCameraZenith |
| The up direction of the body-attached camera. More... | |
| int | AttachedCameraBody |
| The index of the body to which the camera is attached (default = 0). More... | |
Protected Attributes | |
| Problem * | P |
| The Problem instance used by the planner/solver. More... | |
This is an interface class that computes configurations of all bodies to be displayed by a rendering method. Currently, configuration information is passed through an instance of Problem. Thus, the base class for Scene is simply a wrapper to Problem.
|
||||||||||||
|
Scene must be initialized with the Problem that was passed to the planner.
|
|
|
Empty destructor.
|
|
||||||||||||||||
|
Interpolate the states; convert the result to a SceneConfiguratrion.
|
|
|
A method for changing the associated Problem.
|
|
|
Convert the state into configurations for each body (a long MSLVector).
|
|
|
The index of the body to which the camera is attached (default = 0).
|
|
|
The direction the body-attached camera is pointing.
|
|
|
The location of the body-attached camera in x,y,z.
|
|
|
The up direction of the body-attached camera.
|
|
|
A common filepath.
|
|
|
The geometry dimension, 2 or 3.
|
|
|
The direction the default camera is pointing with respect to the model.
|
|
|
The location of the default camera in x,y,z.
|
|
|
The up direction of the default camera.
|
|
|
The smallest x,y,z world coordinates for the environment.
|
|
|
The number of bodies in the scene.
|
|
|
The Problem instance used by the planner/solver.
|
|
|
Total degrees of freedom of the scene.
|
|
|
The largest x,y,z world coordinated for the environment.
|