//*****************************************************************************************
// Truevision - a 3d modeler for gnome and povray
//
// pycamera.h
//
// Christian Spoer <spoer@users.sourceforge.net>
// Copyright (C) 2000-2005 Vincent LE PRINCE
// This file is part of the TRUEVISION Package
// 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.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
//*******************************************************************************************
#ifndef TV_PYCAMERA_H
#define TV_PYCAMERA_H
using namespace std;
#include "Python.h"
#include "camera.h"
class PyCamera
{
public:
static PyMethodDef python_methods[];
static PyObject* get_location( PyObject* self, PyObject* args );
static PyObject* set_location( PyObject* self, PyObject* args );
static PyObject* get_look_at( PyObject* self, PyObject* args );
static PyObject* set_look_at( PyObject* self, PyObject* args );
static PyObject* get_angle( PyObject* self, PyObject* args );
static PyObject* set_angle( PyObject* self, PyObject* args );
static PyObject* get_roll( PyObject* self, PyObject* args );
static PyObject* set_roll( PyObject* self, PyObject* args );
static PyObject* get_sky_vector( PyObject* self, PyObject* args );
static PyObject* get_aspect( PyObject* self, PyObject* args );
static PyObject* set_aspect( PyObject* self, PyObject* args );
static PyObject* get_focal_point( PyObject* self, PyObject* args );
static PyObject* set_focal_point( PyObject* self, PyObject* args );
static PyObject* get_aperture( PyObject* self, PyObject* args );
static PyObject* set_aperture( PyObject* self, PyObject* args );
static PyObject* get_h_angle( PyObject* self, PyObject* args );
static PyObject* set_h_angle( PyObject* self, PyObject* args );
static PyObject* get_v_angle( PyObject* self, PyObject* args );
static PyObject* set_v_angle( PyObject* self, PyObject* args );
static PyObject* get_variance( PyObject* self, PyObject* args );
static PyObject* set_variance( PyObject* self, PyObject* args );
static PyObject* get_confidence( PyObject* self, PyObject* args );
static PyObject* set_confidence( PyObject* self, PyObject* args );
static PyObject* get_blur_samples( PyObject* self, PyObject* args );
static PyObject* set_blur_samples( PyObject* self, PyObject* args );
static PyObject* is_blur( PyObject* self, PyObject* args );
static PyObject* set_blur( PyObject* self, PyObject* args );
};
#endif // TV_PYCAMERA_H