PdfPublishBaseNodeMotion.h
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.
|
Name |
Description |
|
Destroys the node motion object. |
|
Name |
Description |
|
Returns the current node motion color. The method fills a passed ODCOLORREF value with the current node motion's color then returns it to a calling subroutine. | |
|
Returns the current node name. The method fills a passed string value with the node motion object's name then returns it to a calling subroutine. | |
|
Returns the current opacity level for the node motion object. The method fills a passed double value with the opacity value then returns it to a calling subroutine. | |
|
Returns the current transformation matrix for the node motion object. The method accepts a transformation matrix, fills it and then returns it to a calling subroutine. | |
|
Moves the node animation to a specified frame. |
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|