Open Reality Reference Guide
fbmotion.h
Go to the documentation of this file.
1 #ifndef __FBMOTIONCLIP_H__
2 #define __FBMOTIONCLIP_H__
3 /**************************************************************************
4  Copyright (c) 2009 - 2010 Autodesk, Inc. and/or its licensors.
5  All Rights Reserved.
6 
7  The coded instructions, statements, computer programs, and/or related
8  material (collectively the "Data") in these files contain unpublished
9  information proprietary to Autodesk, Inc. and/or its licensors, which is
10  protected by Canada and United States of America federal copyright law
11  and by international treaties.
12 
13  The Data may not be disclosed or distributed to third parties, in whole
14  or in part, without the prior written consent of Autodesk, Inc.
15  ("Autodesk").
16 
17  THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18  ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19  WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20  ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21  OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22  PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23  WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24  FREE.
25 
26  IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27  OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28  EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29  DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30  OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31  DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32  LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33  LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34  DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35  BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36 
37 **************************************************************************/
38 
43 #include <kaydaradef.h>
44 #ifndef FBSDK_DLL
48  #define FBSDK_DLL K_DLLIMPORT
49 #endif
50 
51 #include <fbsdk/fbcomponent.h>
52 
53 #ifdef FBSDKUseNamespace
54  namespace FBSDKNamespace {
55 #endif
56 
58 
59 FB_DEFINE_COMPONENT( FBSDK_DLL, MotionClip );
60 
62 // FBMotionClip
64 
68 {
69  //--- Open Reality declaration.
71 public:
72 
77  FBMotionClip(const char* pFileName, HIObject pObject=NULL);
78 
81  virtual void FBDelete() override;
82 
87 };
88 
92 {
93 public:
99  FBMotionClip* operator[](int pIndex);
100 };
101 
102 #ifdef FBSDKUseNamespace
103  }
104 #endif
105 #endif /* this must be the last line of this file */
MotionBuilder SDK base class.
Definition: fbcomponent.h:651
Motion class.
Definition: fbmotion.h:68
FBPropertyTime Start
Read Only Property: Start time of clip.
Definition: fbmotion.h:85
virtual void FBDelete() override
Virtual FBDelete function.
FBPropertyTime Stop
Read Only Property: Stop time of clip.
Definition: fbmotion.h:86
FBPropertyString RelativePath
Read Only Property: Relative path to the motion file.
Definition: fbmotion.h:84
FBMotionClip(const char *pFileName, HIObject pObject=NULL)
Constructor.
FBPropertyString Filename
Read Write Property: Filename and path of motion file.
Definition: fbmotion.h:83
PropertyList: Concrete class for PropertyList of component
Definition: fbcomponent.h:536
List: MotionClip
Definition: fbmotion.h:92
FBMotionClip * operator[](int pIndex)
Get the motion at pIndex.
Property class: const char * (String).
Basic class definitions.
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:131
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Definition: fbmotion.h:48
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:68