PdfPublishBaseCameraMotion.h
This class implements a base interface for camera motion handling during animation in .pdf documents created with Publish SDK.
To implement functionality for handling motion of a camera, define a class inherited from the OdBaseCameraMotion class and add the implementation of the step() method. The parametric animation algorithm calls the step() method for each frame, and if it returns true, calls other methods of the inherited class. Each interface method accepts an output parameter that affects the animation only if the appropriate method returns true. The default implementation in the base interface class assumes that all methods return false. This means that you have to re-implement methods of the base class to correctly define the animation parameters.
|
Name |
Description |
|
Destroys the camera motion object. |
|
Name |
Description |
|
Returns the current field of view angle of the camera. The method fills a passed value with the field of view angle then returns it to a calling subroutine. | |
|
Returns the current camera position. The method fills a passed point with the camera position point then returns it to a calling subroutine. | |
|
Returns the current camera projection type. The method fills a passed value with the camera projection type value then returns it to a calling subroutine. | |
|
Returns the current camera target. The method fills a passed point with the camera target point then returns it to a calling subroutine. | |
|
Returns the current camera target node. The method fills a passed string with the name of the camera target node then returns it to a calling subroutine. | |
|
Returns the current camera up-vector. The method fills a passed vector with the camera up-vector object then returns it to a calling subroutine. | |
|
Returns the current size of the camera's view plane. The method fills a passed value with the size of the camera view plane then returns it to a calling subroutine. | |
|
Moves the animation to a specified frame. |
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|