Public Member Functions
CameraRig Class Reference

Detailed Description

The CameraRig object is a specialized Null object that represents a hierarchy composed of a Camera and its X3DObject interest object.

Each is parented under the same root object i.e. the CameraRig.

See also:
        using namespace XSI;
        Application app;
        Model root = app.GetActiveSceneRoot();

        CameraRig myCameraRig;
        root.AddCameraRig( L"Camera", L"", myCameraRig );

        X3DObject interest(myCameraRig.GetCamera().GetInterest());

#include <xsi_camerarig.h>

Inheritance diagram for CameraRig:
Inheritance graph

List of all members.

Public Member Functions

 CameraRig ()
 ~CameraRig ()
 CameraRig (const CRef &in_ref)
 CameraRig (const CameraRig &in_obj)
bool IsA (siClassID in_ClassID) const
siClassID GetClassID () const
CameraRigoperator= (const CameraRig &in_obj)
CameraRigoperator= (const CRef &in_ref)
Camera GetCamera () const

Constructor & Destructor Documentation

CameraRig ( )

Default constructor.

~CameraRig ( )

Default destructor.

CameraRig ( const CRef in_ref)


in_refconstant reference object.
CameraRig ( const CameraRig in_obj)

Copy constructor.

in_objconstant class object.

Member Function Documentation

bool IsA ( siClassID  in_ClassID) const [virtual]

Returns true if a given class type is compatible with this API class.

in_ClassIDclass type.
true if the class is compatible, false otherwise.

Reimplemented from Rig.

siClassID GetClassID ( ) const [virtual]

Returns the type of the API class.

The class type.

Reimplemented from Rig.

CameraRig& operator= ( const CameraRig in_obj)

Creates an object from another object. The newly created object is set to empty if the input object is not compatible.

in_objconstant class object.
The new CameraRig object.
CameraRig& operator= ( const CRef in_ref)

Creates an object from a reference object. The newly created object is set to empty if the input reference object is not compatible.

in_refconstant class object.
The new CameraRig object.

Reimplemented from Rig.

Camera GetCamera ( ) const

Returns the camera object of this rig.

The Camera object for this rig.

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