CFx SDK Documentation  2023 SP0
DbMotionPath.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 #ifndef _OD_DBMOTIONPATH_H_INCLUDED_
25 #define _OD_DBMOTIONPATH_H_INCLUDED_
26 
27 #include "DbObject.h"
28 
29 #include "TD_PackPush.h"
30 
36 {
37  public:
39 
41  virtual ~OdDbMotionPath();
42 
43  void setCameraPath(const OdDbObjectId &pathId);
45 
46  void setTargetPath(const OdDbObjectId &pathId);
48 
49  void setViewTableRecordId(const OdDbObjectId &viewId);
51 
52  void setFrames(OdUInt32 nFrames);
53  OdUInt32 frames() const;
54 
55  void setFrameRate(OdUInt32 nRate);
57 
58  void setCornerDecel(bool bCornerDecel);
59  bool cornerDecel() const;
60 
61  virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
62  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
63  virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
64  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
65 };
66 
68 
71 
72 #include "TD_PackPop.h"
73 
74 #endif // _OD_DBMOTIONPATH_H_INCLUDED_
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
TOOLKIT_EXPORT OdDbObjectId oddbGetMotionPathDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdSmartPtr< OdDbMotionPath > OdDbMotionPathPtr
Definition: DbMotionPath.h:67
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetMotionPathDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
unsigned int OdUInt32
OdResult
Definition: OdResult.h:29
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setFrameRate(OdUInt32 nRate)
void setCornerDecel(bool bCornerDecel)
void setCameraPath(const OdDbObjectId &pathId)
OdUInt32 frames() const
OdDbObjectId cameraPath() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbObjectId targetPath() const
void setFrames(OdUInt32 nFrames)
bool cornerDecel() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbObjectId viewTableRecordId() const
ODDB_DECLARE_MEMBERS(OdDbMotionPath)
virtual ~OdDbMotionPath()
void setTargetPath(const OdDbObjectId &pathId)
OdUInt32 frameRate() const
void setViewTableRecordId(const OdDbObjectId &viewId)
OpenMode
Definition: DbObjectId.h:54