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::CameraTools Class Reference

Class tools for working with the 3DCoat's camera. More...

#include <SCameraTools.h>

Public Member Functions

int GetLastActiveCamShortcut () const
 Gets the index of the last active short cut. More...
 
CameraShortcut GetActiveCamShortcut () const
 Gets the last active camera short cut. More...
 
CameraShortcut GetCamShortcutByIndex (int index) const
 Gets the last camera short cut by index. More...
 
int CountCamShortCut () const
 Count of camera short cuts. More...
 
CameraToolsActivateCamShortcut (int idx, bool Relative)
 Activate the camera short cut by index relative of the last activate index. More...
 
int AddCamShortcut () const
 Add the new camera short cut. More...
 
CameraToolsDelCamShortcut (int idx)
 Delete the camera short cut by index. More...
 
CameraToolsDelActiveCamShortcut ()
 Delete the active camera short cut. More...
 
CameraToolsSetPrevCamShortcut ()
 Set the previouse camera short cut. More...
 
CameraToolsSetNextCamShortcut ()
 Set the next camera short cut. More...
 
void SaveCam () const
 Save the camera short cut in the file. More...
 
void LoadCam () const
 Load the camera short cut from the file. More...
 

Detailed Description

Class tools for working with the 3DCoat's camera.

CameraTools tools;
int i = tools.AddCamShortcut();
CameraShortcut camera = tools.GetCamShortcutByIndex(i);
tools.ActivateCamShortcut(i,true);
See Also
CameraShortcut
Since
4.5.35

Member Function Documentation

CameraTools & coat::scripto::CameraTools::ActivateCamShortcut ( int  idx,
bool  Relative 
)

Activate the camera short cut by index relative of the last activate index.

Referenced by SetNextCamShortcut(), and SetPrevCamShortcut().

int coat::scripto::CameraTools::AddCamShortcut ( ) const

Add the new camera short cut.

int coat::scripto::CameraTools::CountCamShortCut ( ) const
inline

Count of camera short cuts.

Referenced by GetActiveCamShortcut(), and GetCamShortcutByIndex().

CameraTools& coat::scripto::CameraTools::DelActiveCamShortcut ( )
inline

Delete the active camera short cut.

References DelCamShortcut().

CameraTools & coat::scripto::CameraTools::DelCamShortcut ( int  idx)

Delete the camera short cut by index.

Referenced by DelActiveCamShortcut().

CameraShortcut coat::scripto::CameraTools::GetActiveCamShortcut ( ) const

Gets the last active camera short cut.

References CountCamShortCut(), and GetLastActiveCamShortcut().

CameraShortcut coat::scripto::CameraTools::GetCamShortcutByIndex ( int  index) const

Gets the last camera short cut by index.

References CountCamShortCut().

int coat::scripto::CameraTools::GetLastActiveCamShortcut ( ) const

Gets the index of the last active short cut.

Referenced by GetActiveCamShortcut().

void coat::scripto::CameraTools::LoadCam ( ) const

Load the camera short cut from the file.

void coat::scripto::CameraTools::SaveCam ( ) const

Save the camera short cut in the file.

CameraTools& coat::scripto::CameraTools::SetNextCamShortcut ( )
inline

Set the next camera short cut.

References ActivateCamShortcut().

CameraTools& coat::scripto::CameraTools::SetPrevCamShortcut ( )
inline

Set the previouse camera short cut.

References ActivateCamShortcut().


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