13 #ifndef DOCUMENTATION_GENERATOR
15 #if defined (__ANIMATOR_BUILD__)
16 # define __ANIMATOR_DECLSPEC__ __declspec(dllexport)
18 # define __ANIMATOR_DECLSPEC__ __declspec(dllimport)
21 #define ANIMATOR_EXPORTED __ANIMATOR_DECLSPEC__
25 #define ANIMATOR_EXPORTED
209 struct AnimatorValueDescr;
274 memset (&m_position, 0,
sizeof (m_position));
275 memset (&m_origin, 0,
sizeof (m_origin));
276 memset (&m_delta, 0,
sizeof (m_delta));
277 memset (&m_rMatrix, 0,
sizeof (m_rMatrix));
278 memset (&m_offset, 0,
sizeof (m_offset));
380 void OnAnimationModelWrite (AnimationModelR model);
384 void OnAnimationModelLoaded (AnimationModelR model);
523 ANIMATOR_EXPORTED void SetViewMask (
int views[Bentley::DgnPlatform::MAX_VIEWS]) ;
793 ANIMATOR_EXPORTED StatusInt CreateCameraScriptAction (ActorElementP camera,
TimeVal time,
AnimatorVelocity velocity,
AnimatorInterpolation interpolation,
bool enabled,
bool interpolatePos,
bool interpolateViewPlane,
bool interpolateAngle,
bool cameraUseWorldUp,
DPoint3d* customPosCurvePts,
int customPosCurvePtCount,
DPoint3d* customRotCurvePts,
int customRotCurvePtCount);
823 ANIMATOR_EXPORTED StatusInt CreateCameraTransformScriptAction (
WChar* cameraName,
int count,
TimeVal* time,
AnimatorInterpolation interpolation,
Int32 bEnabled,
DPoint3d* viewOrigins,
RotMatrix* viewRotations,
double* viewSizes,
DPoint3d* viewOffsets,
double* focalLengths,
double* frontClips,
double* backClips,
double* cameraAngles);
886 ANIMATOR_EXPORTED StatusInt ScriptKeyFrame (
KeyFrame *pKeyFrame,
TimeVal time,
AnimatorVelocity velocity,
AnimatorInterpolation interpolation,
bool enabled,
DPoint3d *customPosCurvePts,
int customPosCurvePtCount,
DPoint3d *customRotCurvePts,
int customRotCurvePtCount,
DPoint3d *customScaleCurvePts,
int customScaleCurvePtCount);
903 ANIMATOR_EXPORTED StatusInt CreateScriptAction (ActorElementP actor,
TimeInterval* pInterval,
bool bEnabled,
WCharCP pXPosExpression,
WCharCP pYPosExpression,
WCharCP pZPosExpression,
WCharCP pXRotExpression,
WCharCP pYRotExpression,
WCharCP pZRotExpression,
WCharCP pXScaleExpression,
WCharCP pYScaleExpression,
WCharCP pZScaleExpression,
DisplayPathCP actorPath);
920 ANIMATOR_EXPORTED StatusInt CreatePathAction (ActorElementP actor,
MSElementDescrP pathEd,
TimeIntervalP pInterval,
bool bEnabled,
AnimatorVelocity velocity,
DPoint3d* customCurvePts,
int customCurvePtCount,
Transform *pTrans,
double startParam,
double endParam,
WCharCP pDistanceExpression,
bool maintainActorOrientation,
DisplayPathCP actorPath);
957 ANIMATOR_EXPORTED StatusInt CreateElementAttributeAction (
DisplayPathSet* pDisplayPathSet,
TimeVal time,
bool bEnabled,
AnimatorVelocity vel,
AnimatorInterpolation interp,
bool* pVisibility,
RgbFactor* pColor,
double* pTransparency,
UInt32* pTaskId,
bool bTaskStart,
DPoint3d* customCurvePts,
int customCurvePtCount,
bool undoable);
1120 ANIMATOR_EXPORTED bool IsValidAttachmentForTime (ActorElementP parentActor, ActorElementP actorToAttach,
TimeVal time);
1127 ANIMATOR_EXPORTED bool IsValidDetachmentForTime (ActorElementP parentActor, ActorElementP actorToDetach,
TimeVal time);
struct RotMatrix const * RotMatrixCP
Definition: msgeomstructs_typedefs.h:135
3x3 matrix commonly used for pure rotations, but in general may also have scales and non-perpendicula...
Definition: rotmatrix.h:21
Definition: AnimationModel.h:80
#define ANIMATOR_EXPORTED
Definition: AnimationModel.h:25
Definition: AnimationModel.h:1252
Time entries will be displayed as a number of Frames eg.
Definition: AnimationModel.h:105
struct DgnPlatform::FlashLight const & FlashLightCR
Definition: Light.h:26
Definition: AnimationModel.h:1261
Definition: AnimationModel.h:1259
Date entry will be displayed as per windows regional option.
Definition: AnimationModel.h:156
Definition: AnimationModel.h:169
Definition: AnimationModel.h:175
struct Bentley::WString const * WStringCP
Definition: Bentley.h:239
TimeCode
Defines the frequent normal time code for animation.
Definition: AnimationModel.h:78
struct DPoint3d const * DPoint3dCP
Definition: msgeomstructs_typedefs.h:79
ScriptEntryAttributes
Defines the attributes of the script entry.
Definition: AnimationModel.h:51
Only elements in the animated vector are evaluated.
Definition: AnimationModel.h:185
The SMPTE time code for double speed film 48 fps.
Definition: AnimationModel.h:94
Int64 TimeVal
Definition: TimeInterval.h:11
wchar_t * WCharP
Definition: Bentley.h:225
All animated elements are evaluated.
Definition: AnimationModel.h:189
only actor motion not settings such as transparency, colour etc
Definition: AnimationModel.h:205
wchar_t WChar
Definition: Bentley.h:223
Definition: AnimationModel.h:1255
Definition: AnimationModel.h:1258
Does script entry preview.
Definition: AnimationModel.h:55
bmap< ElementRefP, UInt64 > TimeValueMap
Definition: AnimationCollections.h:329
struct Bentley::WString const & WStringCR
Definition: Bentley.h:239
Time entries will be displayed based on a format string.
Definition: AnimationModel.h:152
size_type count(const key_type &__x) const
Definition: stdcxx/bstdmap.h:277
Interpolation value has no meaning in the instance of its use.
Definition: AnimationModel.h:67
MaterialControllerMap const & MaterialControllerMapCR
Definition: AnimationCollections.h:418
The SMPTE time code for NTSC double scan - HDTV 480P (Progressive Scan)
Definition: AnimationModel.h:98
The SMPTE time code for PAL television 25 frames per second.
Definition: AnimationModel.h:90
Definition: AnimationModel.h:82
wchar_t const * WCharCP
Definition: Bentley.h:224
Definition: AnimationModel.h:1253
struct DgnPlatform::SolarLight const & SolarLightCR
Definition: Light.h:24
Is script entry previewable backwards.
Definition: AnimationModel.h:59
uint32_t UInt32
Definition: Bentley.r.h:128
#define NULL
Definition: Bentley.h:157
AnimatedElementMap & AnimatedElementMapR
Definition: AnimationCollections.h:272
Red, green, blue color data as doubles.
Definition: GeomApi.r.h:85
RefCountedPtr< struct AnimationEvaluationContext > AnimationEvaluationContextPtr
Definition: AnimationModel.h:298
Linear interpolation (2 Point) is used when calculating the resulting interpolated value based on the...
Definition: AnimationModel.h:70
Time entries will be displayed as yyyy:mm:dd.
Definition: AnimationModel.h:160
AnimationEventHandler * AnimationEventHandlerP
Definition: AnimationModel.h:389
Definition: AnimationModel.h:83
Definition: AnimationModel.h:1254
Definition: AnimationModel.h:172
TimeVal * TimeValP
Definition: TimeInterval.h:12
only the rendering settings are evaluated
Definition: AnimationModel.h:203
struct DgnPlatform::DisplayPath const * DisplayPathCP
Definition: DgnPlatform.h:236
Definition: AnimationModel.h:1256
struct DgnPlatform::Material const & MaterialCR
Definition: DgnPlatform.h:391
3d point coordinates.
Definition: dpoint3d.h:19
Set if all script entries are to be animated.
Definition: AnimationModel.h:183
Definition: AnimationModel.h:1260
PreviewMode
The different types of preview option available.
Definition: AnimationModel.h:167
ScriptAnimationParameterMap * ScriptAnimationParameterMapP
Definition: AnimationCollections.h:401
Time & Date entries will be displayed as per windows regional option.
Definition: AnimationModel.h:158
int32_t Int32
Definition: Bentley.r.h:119
AnimatorVelocity
Anything which is animatable can have a velocity.
Definition: Envelopes.h:48
Definition: AnimationModel.h:171
A shared pointer template for reference-counted objects.
Definition: RefCounted.h:119
A context used for evaluating an animation.
Definition: AnimationModel.h:305
DisplayPathSet const & DisplayPathSetCR
Definition: AnimationCollections.h:375
Definition: AnimationModel.h:1257
Base class to make a class non-copyable.
Definition: NonCopyableClass.h:23
TimeTransformArray const & TimeTransformArrayCR
Definition: AnimationCollections.h:432
AnimatorValueType
Formats specifiers for AnimatorValueUnion structure.
Definition: AnimationModel.h:1250
Defines the struct of time interval which will be used for Animation module.
Definition: TimeInterval.h:45
int StatusInt
Definition: Bentley.h:222
Concrete class that can be used to implement the reference-counting pattern.
Definition: RefCounted.h:109
only the view information is evaluated however view data is not set in the view its set in a camera m...
Definition: AnimationModel.h:201
The SMPTE time code for Film 24 frames per second.
Definition: AnimationModel.h:92
Cubic interpolation (4 Point) is used when calculating the resulting interpolated value based on the ...
Definition: AnimationModel.h:73
AnimatorInterpolation
A sequence of motion applied to a single animateable entity has an interpolation value to describe ho...
Definition: AnimationModel.h:64
The SMPTE time code for PAL progressive scan.
Definition: AnimationModel.h:96
Time entries will be displayed as HH:MM:SS:FF eg.
Definition: AnimationModel.h:107
bset< DisplayPathCP > DisplayPathSet
Definition: AnimationCollections.h:371
int64_t Int64
Definition: Bentley.r.h:130
struct DPoint3d const & DPoint3dCR
Definition: msgeomstructs_typedefs.h:79
only materials are evaluated
Definition: AnimationModel.h:195
Definition: AnimationModel.h:173
UInt32Set * UInt32SetP
Definition: AnimationCollections.h:366
struct DgnPlatform::LightElement const & LightElementCR
Definition: Light.h:29
only lights are evaluated
Definition: AnimationModel.h:197
Definition: AnimationModel.h:170
SMPTE is the Society of Motion Picture and Television Engineers.
Definition: AnimationModel.h:88
struct DgnPlatform::AmbientLight const & AmbientLightCR
Definition: Light.h:25
Time entry will be displayed as per windows regional option.
Definition: AnimationModel.h:154
only the view information is evaluated
Definition: AnimationModel.h:199
AnimationCalculationOptions
Animation calculation options OR together options to give final resulting animation.
Definition: AnimationModel.h:180
Definition: AnimationModel.h:174
AnimationEventHandler & AnimationEventHandlerR
Definition: AnimationModel.h:390
Only elements in the animated vector and their parents are evaluated.
Definition: AnimationModel.h:187
TimeDisplay
How the time is displayed on the user interface.
Definition: AnimationModel.h:102
Only non actor elements are evaluated.
Definition: AnimationModel.h:193
2d point coordinates.
Definition: dpoint2d.h:23
Only actor elements are evaluated.
Definition: AnimationModel.h:191
Definition: AnimationModel.h:81