Blender V2.61 - r43446
Static Public Member Functions

RAS_FramingManager Class Reference

#include <RAS_FramingManager.h>

List of all members.

Static Public Member Functions

static void ComputeViewport (const RAS_FrameSettings &settings, const RAS_Rect &availableViewport, RAS_Rect &viewport)
static void ComputeOrtho (const RAS_FrameSettings &settings, const RAS_Rect &availableViewport, const RAS_Rect &viewport, const float scale, const float camnear, const float camfar, const short sensor_fit, RAS_FrameFrustum &frustum)
static void ComputeFrustum (const RAS_FrameSettings &settings, const RAS_Rect &availableViewport, const RAS_Rect &viewport, const float lens, const float sensor_x, const float sensor_y, const short sensor_fit, const float camnear, const float camfar, RAS_FrameFrustum &frustum)
static void ComputeDefaultFrustum (const float camnear, const float camfar, const float lens, const float sensor_x, const float sensor_y, const short sensor_fit, const float design_aspect_ratio, RAS_FrameFrustum &frustum)
static void ComputeDefaultOrtho (const float camnear, const float camfar, const float scale, const float design_aspect_ratio, const short sensor_fit, RAS_FrameFrustum &frustum)

Detailed Description

RAS_FramingManager

This class helps to compute a view frustum and a viewport rectangle given the above settings and a description of the current canvas dimensions.

You do not have to instantiate this class directly, it only contains static helper functions

Definition at line 206 of file RAS_FramingManager.h.


Member Function Documentation

void RAS_FramingManager::ComputeDefaultFrustum ( const float  camnear,
const float  camfar,
const float  lens,
const float  sensor_x,
const float  sensor_y,
const short  sensor_fit,
const float  design_aspect_ratio,
RAS_FrameFrustum frustum 
) [static]
void RAS_FramingManager::ComputeDefaultOrtho ( const float  camnear,
const float  camfar,
const float  scale,
const float  design_aspect_ratio,
const short  sensor_fit,
RAS_FrameFrustum frustum 
) [static]
void RAS_FramingManager::ComputeFrustum ( const RAS_FrameSettings settings,
const RAS_Rect availableViewport,
const RAS_Rect viewport,
const float  lens,
const float  sensor_x,
const float  sensor_y,
const short  sensor_fit,
const float  camnear,
const float  camfar,
RAS_FrameFrustum frustum 
) [static]
void RAS_FramingManager::ComputeOrtho ( const RAS_FrameSettings settings,
const RAS_Rect availableViewport,
const RAS_Rect viewport,
const float  scale,
const float  camnear,
const float  camfar,
const short  sensor_fit,
RAS_FrameFrustum frustum 
) [static]
void RAS_FramingManager::ComputeViewport ( const RAS_FrameSettings settings,
const RAS_Rect availableViewport,
RAS_Rect viewport 
) [static]

The documentation for this class was generated from the following files: