KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros
camera_frustum.h File Reference

CAMERA_FRUSTUM for modeling a truncated cone. More...

#include <gr_cpp/gr_parametric_frustum.h>
#include <g_cpp/g_quaternion.h>
#include <m_cpp/m_vector.h>
#include <gr_cpp/gr_renderable_model.h>

Go to the source code of this file.

Classes

class  kjb::Parametric_frustum
 

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 

Macros

#define CAMERA_FRUSTUM_PITCH   0
 
#define CAMERA_FRUSTUM_YAW   1
 
#define CAMERA_FRUSTUM_ROLL   2
 
#define CAMERA_FRUSTUM_WIDTH   0
 
#define CAMERA_FRUSTUM_LENGTH   1
 
#define CAMERA_FRUSTUM_TOP_RADIUS   2
 
#define CAMERA_FRUSTUM_HEIGHT   3
 

Detailed Description

CAMERA_FRUSTUM for modeling a truncated cone.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.

http://creativecommons.org/licenses/by-nc-sa/3.0/us/

You are free:

to Share - to copy, distribute, display, and perform the work to Remix - to make derivative works

Under the following conditions:

Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial. You may not use this work for commercial purposes.

Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.

Any of the above conditions can be waived if you get permission from the copyright holder.

Apart from the remix rights granted under this license, nothing in this license impairs or restricts the author's moral rights.

Author
Yuanliu Liu

The truncated cone is approximated by polymeshes. It is defined by the number of vertices of the polygon to approximate the circle, the center of the cone, the radius of the bottom surface and the top surface and its height.

Macro Definition Documentation

#define CAMERA_FRUSTUM_HEIGHT   3
#define CAMERA_FRUSTUM_LENGTH   1
#define CAMERA_FRUSTUM_PITCH   0
#define CAMERA_FRUSTUM_ROLL   2
#define CAMERA_FRUSTUM_TOP_RADIUS   2
#define CAMERA_FRUSTUM_WIDTH   0
#define CAMERA_FRUSTUM_YAW   1