/***************************************************************************
                          scene.h  -  description
                             -------------------
    begin                : Thu Dec 7 2000
    copyright            : (C) 2000 by Jan Walter
    email                : jan@blender.nl
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef SCENE_H
#define SCENE_H

#include <blender.h>

struct PyObject;

/**Blender scenes can be seen in the OOPS window as green rectangles. A scene has a lot of objects connected to it.
  *@author Jan Walter
  */

class Scene : public Blender {
public: 
	Scene();
	~Scene();
  /** A Blender scene has always a unique name. The name you give as an argument is only a proposal for the real name. Blender will check if this name is already used and rename the scene if necessary. */
  Scene(const char* name);
  /** This function is used by connect(...) to make a link between an existing object and a existing scene. I guess it should not be used standalone right now. */
  PyObject* addObject(PyObject* object);
  /** This returns the current camera for this scene. */
  PyObject* getCurrentCamera();
private: // Private attributes
  /** All rectangles you can see in the OOPS window are instances of classes with an unique name for all instances of this class. Nevertheless the name of two instances of different classes can be the same. */
  char* name;
  /** The variable objects holds a list of names for usage within Python. The names can be used to get the real objects by calling the function getObject(name). */
  PyObject* objects;
};

#endif

Documentation generated by jan@nvidea on Mon Mar 5 16:57:27 CET 2001