CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublishAnimation.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24
26//
27// PdfPublishAnimation.h
28//
30
31#ifndef _PDF_PUBLISH_ANIMATION_INCLUDED_
32#define _PDF_PUBLISH_ANIMATION_INCLUDED_
33
34#include "PdfPublishCommon.h"
38#include "UInt64Array.h"
39
44namespace OdPdfPublish{
45
51{
52 //DOM-IGNORE-BEGIN
53protected:
55 //DOM-IGNORE-END
56public:
57 //DOM-IGNORE-BEGIN
60 //DOM-IGNORE-END
61
65 virtual ~OdAnimation();
66
71 void setName(const OdString& name);
72
80 void setPlayOnOpenDocument(bool state);
81
88 void setAutoReplay(bool state);
89
94 void setFramesPerSecond(const OdUInt32 frame_per_second);
95
100 void setFramesCount(const OdUInt64 frame_count);
101
114 void setCameraMotion(const OdUInt64& start_frame, const OdUInt64& end_frame, OdBaseCameraMotionPtr motion);
115
128 void addNodeMotion(const OdUInt64& start_frame, const OdUInt64& end_frame, OdBaseNodeMotionPtr motion);
129
134 void getName(OdString& name) const;
135
143 void getPlayOnOpenDocument(bool& state) const;
144
151 void getAutoReplay(bool& state) const;
152
157 void getFramesPerSecond(OdUInt32& frame_per_second) const;
158
163 void getFramesCount(OdUInt64& frame_count) const;
164
176 void getCameraMotion(OdUInt64& start_frame, OdUInt64& end_frame, OdBaseCameraMotionPtr& motion) const;
177
188 void getNodeMotions(OdUInt64Array& starts_frame, OdUInt64Array& ends_frame, OdBaseNodeMotionPtrArray& motions) const;
189
190
191
192};
193
198
199}
200#endif // _PDF_PUBLISH_ANIMATION_INCLUDED_
201
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
unsigned int OdUInt32
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void setPlayOnOpenDocument(bool state)
void getFramesCount(OdUInt64 &frame_count) const
void getAutoReplay(bool &state) const
void getCameraMotion(OdUInt64 &start_frame, OdUInt64 &end_frame, OdBaseCameraMotionPtr &motion) const
void getNodeMotions(OdUInt64Array &starts_frame, OdUInt64Array &ends_frame, OdBaseNodeMotionPtrArray &motions) const
void setAutoReplay(bool state)
ODRX_DECLARE_MEMBERS(OdAnimation)
void addNodeMotion(const OdUInt64 &start_frame, const OdUInt64 &end_frame, OdBaseNodeMotionPtr motion)
void getFramesPerSecond(OdUInt32 &frame_per_second) const
void setFramesPerSecond(const OdUInt32 frame_per_second)
void setCameraMotion(const OdUInt64 &start_frame, const OdUInt64 &end_frame, OdBaseCameraMotionPtr motion)
void getPlayOnOpenDocument(bool &state) const
void setName(const OdString &name)
void getName(OdString &name) const
void setFramesCount(const OdUInt64 frame_count)
GLuint const GLchar * name
Definition: gles2_ext.h:265