Maya 1.0
Public Member Functions | Protected Attributes | List of all members
MayaCameraSet Class Reference

A set of cameras. More...

#include <maya.h>

Public Member Functions

 MayaCameraSet ()
 Create set of camera. More...
 
void Push (const Camera &)
 Add a camera to the set. More...
 
void Pop ()
 Remove the current camera from the set.
 
Camera Current () const
 Get current camera.
 
void Next (Camera &)
 Set active camera as the next one in the set.
 
QVector< CameraAll () const
 Get the set of cameras.
 

Protected Attributes

QVector< Cameracameras
 Set of cameras.
 

Detailed Description

A set of cameras.

Constructor & Destructor Documentation

◆ MayaCameraSet()

MayaCameraSet::MayaCameraSet ( )

Create set of camera.

Initialize the set as empty and camera as default camera.

Member Function Documentation

◆ Push()

void MayaCameraSet::Push ( const Camera c)

Add a camera to the set.

Parameters
cCamera.

References cameras.

Referenced by MayaWidget::AddCamera().