fshake3d  0.0.1
FreeformDensity3DSurfaceEditor
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Classes | Enumerations | Functions
transform_Projection.hpp File Reference
#include "math.hpp"

Go to the source code of this file.

Classes

class  Projection

Enumerations

enum  ProjectionType { ProjectionType_ORTHO, ProjectionType_PERSPECTIVE }

Functions

void perspective_fit_sphere_by_fovy (double radius, double fovy, double &distance, double &znear, double &zfar)
void perspective_fit_sphere_by_distance (double radius, double distance, double &fovy, double &znear, double &zfar)

Enumeration Type Documentation

Enumerator:
ProjectionType_ORTHO 
ProjectionType_PERSPECTIVE 

Definition at line 7 of file transform_Projection.hpp.


Function Documentation

void perspective_fit_sphere_by_distance ( double  radius,
double  distance,
double &  fovy,
double &  znear,
double &  zfar 
) [inline]

Definition at line 113 of file transform_Projection.hpp.

void perspective_fit_sphere_by_fovy ( double  radius,
double  fovy,
double &  distance,
double &  znear,
double &  zfar 
) [inline]

Definition at line 106 of file transform_Projection.hpp.