All Frameworks  Class Hierarchy  This Framework  Indexes

ApplicationFrame Global Function CATCreateCameraFromViewer


HRESULT CATCreateCameraFromViewer(CATViewer* iViewer,
CATICamera*& opICamera)
Creates a camera from a viewer.
Parameters:
iViewer
The viewer from which a camera is created. Camera is created form the main viewpoint of the viewer.
opICamera
The address where the returned pointer to the interface CATICamera is located.
Returns:
S_OK
if the query succeeds
E_FAILED
if the camera creation fails.
See also:
CATViewer

This object is included in the file: CATCameraToolkit.h

Copyright © 2003, Dassault Systèmes. All rights reserved.