Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdBaseCameraMotion Class
Syntax
C++
class OdBaseCameraMotion;

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.

OdPdfPublish__OdBaseCameraMotion

File: PdfPublishBaseCameraMotion.h 

Namespace: OdPdfPublish 

Module: API Reference 

Copyright © 2002-2022. Open Design Alliance All rights reserved.