3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
coat::scripto::CameraShortcut::ViewState Class Reference

#include <SCameraShortcut.h>

Public Member Functions

ViewStatePosition (const Vec3 &pos)
 Set camera position. More...
 
ViewStateOrient (const Quat &orient)
 Set camera orientation. More...
 
ViewStateViewPort (const Rect &vport)
 Set camera view port rectangle. More...
 
ViewStateInfinite (const bool &inf)
 Set camera infinite. More...
 
ViewStateFov (const float &fov)
 Set camera fov. More...
 
ViewStateZNear (const float &zn)
 Set z-near value. More...
 
ViewStateZFar (const float &zf)
 Set z-far value. More...
 
ViewStateAspect (const float &asp)
 Set aspect value. More...
 
ViewStateIsCustomClipPlane (const bool &bClipPlane)
 Set existing of the custom clip plane. More...
 
ViewStateCustomClipPlane (const Plane &plane)
 Set the custom clip plane. More...
 
ViewStateOrthoProjection (const bool &orthoProj)
 Set existing of the ortho projection. More...
 
ViewStateOrthoScale (const float &orthoScale)
 Set the ortho scale value. More...
 
ViewStateOrthoZrange (const float &orthoZrange)
 Set the ortho z-range value. More...
 

Detailed Description

CameraShortcut camera; //Current camera short cut
CameraShortcut::ViewState vs;
vs = camera.State();
vs.Fov( 150 );
vs.OrthoScale(2.0f);
camera.State(vs);

Member Function Documentation

ViewState& coat::scripto::CameraShortcut::ViewState::Aspect ( const float &  asp)
inline

Set aspect value.

ViewState& coat::scripto::CameraShortcut::ViewState::CustomClipPlane ( const Plane &  plane)
inline

Set the custom clip plane.

References CustomClipPlane().

Referenced by CustomClipPlane().

ViewState& coat::scripto::CameraShortcut::ViewState::Fov ( const float &  fov)
inline

Set camera fov.

ViewState& coat::scripto::CameraShortcut::ViewState::Infinite ( const bool &  inf)
inline

Set camera infinite.

ViewState& coat::scripto::CameraShortcut::ViewState::IsCustomClipPlane ( const bool &  bClipPlane)
inline

Set existing of the custom clip plane.

ViewState& coat::scripto::CameraShortcut::ViewState::Orient ( const Quat orient)
inline

Set camera orientation.

References Orient().

Referenced by Orient().

ViewState& coat::scripto::CameraShortcut::ViewState::OrthoProjection ( const bool &  orthoProj)
inline

Set existing of the ortho projection.

ViewState& coat::scripto::CameraShortcut::ViewState::OrthoScale ( const float &  orthoScale)
inline

Set the ortho scale value.

ViewState& coat::scripto::CameraShortcut::ViewState::OrthoZrange ( const float &  orthoZrange)
inline

Set the ortho z-range value.

ViewState& coat::scripto::CameraShortcut::ViewState::Position ( const Vec3 pos)
inline

Set camera position.

ViewState& coat::scripto::CameraShortcut::ViewState::ViewPort ( const Rect &  vport)
inline

Set camera view port rectangle.

ViewState& coat::scripto::CameraShortcut::ViewState::ZFar ( const float &  zf)
inline

Set z-far value.

ViewState& coat::scripto::CameraShortcut::ViewState::ZNear ( const float &  zn)
inline

Set z-near value.


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