AnimationRelation.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
13 #ifndef DOCUMENTATION_GENERATOR
14 
15 #if defined (__ANIMATOR_BUILD__)
16 # define __ANIMATOR_DECLSPEC__ __declspec(dllexport)
17 #else
18 # define __ANIMATOR_DECLSPEC__ __declspec(dllimport)
19 #endif
20 
21 #define ANIMATOR_EXPORTED __ANIMATOR_DECLSPEC__
22 
23 #else
24 
25 #define ANIMATOR_EXPORTED
26 
27 #endif
28 
29 
32 
33 
34 typedef int (*NativeFuncP)();
35 
36 /*=================================================================================**/
46 {
47 
48 public:
49 
52  ANIMATOR_EXPORTED MdlDesc* GetMdlDesc ();
53 
59  ANIMATOR_EXPORTED void ReevaluateForAnimation (AnimationEvaluationContextR aeContext, Relation const &rel);
60 
67 
73  ANIMATOR_EXPORTED void GetValidityInterval(TimeInterval* pInterval, Relation const &rel);
74 
79  ANIMATOR_EXPORTED ElementRefP CopyRelationElement(Relation const &rel);
80 
84  ANIMATOR_EXPORTED void RegisterAnimatedElements (Relation const &rel);
85 
86 }; // IAnimatorHandler
87 
91 
#define ANIMATOR_EXPORTED
Definition: AnimationRelation.h:25
USING_NAMESPACE_RELATIONSHIP typedef int(* NativeFuncP)()
Definition: AnimationRelation.h:34
#define END_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:30
Default reason for ChildElemIter.
#define BEGIN_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:29
Interface adopted by a class that handles Relation objects.
Definition: Relationship.h:1121
AnimationHandler is an interface which extends the relationship handler interface to make relation el...
Definition: AnimationRelation.h:45
A "relationship" is a set of "parameters." A parameter has a unique ID within a relationship.
Definition: RelationshipRelation.h:219
Interface that provides direct and efficient access to element data.
Definition: ElementRefBase.h:120
Defines the struct of time interval which will be used for Animation module.
Definition: TimeInterval.h:45
int StatusInt
Definition: Bentley.h:222
struct mdlDesc MdlDesc
Definition: DgnTool.h:18
#define USING_NAMESPACE_RELATIONSHIP
Definition: Relationship.h:2527

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.