SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Classes | Public Member Functions | Public Attributes | Protected Attributes | List of all members
scl::SGraphicsParsed Struct Reference

#include <SGraphicsParsed.hpp>

Inheritance diagram for scl::SGraphicsParsed:
Inheritance graph
[legend]
Collaboration diagram for scl::SGraphicsParsed:
Collaboration graph
[legend]

Classes

struct  SLight
 

Public Member Functions

virtual const std::string & getType () const
 
virtual const std::string & getName () const
 
virtual bool hasBeenInit () const
 

Public Attributes

Eigen::Vector3d cam_pos_
 
Eigen::Vector3d cam_lookat_
 
Eigen::Vector3d cam_up_
 
sFloat cam_clipping_dist_ [2]
 
sFloat background_color_ [3]
 
std::vector< SLightlights_
 
std::string name_
 
sBool has_been_init_
 

Protected Attributes

std::string type_
 

Detailed Description

Contains all the static information for rendering a scenegraph.

Set cameras, lights etc. here.

Member Function Documentation

virtual const std::string& scl::SObject::getName ( ) const
inlinevirtualinherited

Get the object's type

virtual const std::string& scl::SObject::getType ( ) const
inlinevirtualinherited

Get the object's type

virtual bool scl::SObject::hasBeenInit ( ) const
inlinevirtualinherited

Get the object's type

Member Data Documentation

Eigen::Vector3d scl::SGraphicsParsed::cam_pos_

Camera settings for this world.

sBool scl::SObject::has_been_init_
inherited

Whether the object is ready for use

std::vector<SLight> scl::SGraphicsParsed::lights_

Light source

std::string scl::SObject::name_
inherited

The object's name

std::string scl::SObject::type_
protectedinherited

The object's type. Should only be set by the constructor


The documentation for this struct was generated from the following file: