Close

Relief for ODA Team in Ukraine

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

This class implements a base interface for node motion handling during an animation in .pdf documents created with Publish SDK.

To implement functionality of handling motion of an assembly node, define a class inherited from the OdBaseNodeMotion 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. 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__OdBaseNodeMotion

File: PdfPublishBaseNodeMotion.h 

Namespace: OdPdfPublish 

Module: API Reference 

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