FBX SDK Reference Guide: kfbxstreamoptionscollada.h Source File
Go to the documentation of this file.
00001 
00004 #ifndef _FBXSDK_KFBXSTREAMOPTIONSCOLLADA_H_
00005 #define _FBXSDK_KFBXSTREAMOPTIONSCOLLADA_H_
00006 
00007 
00008 /**************************************************************************************
00009 
00010  Copyright ?2001 - 2008 Autodesk, Inc. and/or its licensors.
00011  All Rights Reserved.
00012 
00013  The coded instructions, statements, computer programs, and/or related material 
00014  (collectively the "Data") in these files contain unpublished information 
00015  proprietary to Autodesk, Inc. and/or its licensors, which is protected by 
00016  Canada and United States of America federal copyright law and by international 
00017  treaties. 
00018  
00019  The Data may not be disclosed or distributed to third parties, in whole or in
00020  part, without the prior written consent of Autodesk, Inc. ("Autodesk").
00021 
00022  THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
00023  ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
00024  WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR ARISING
00025  BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES OF TITLE, 
00026  NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR USE. 
00027  WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT WARRANT THAT THE OPERATION
00028  OF THE DATA WILL BE UNINTERRUPTED OR ERROR FREE. 
00029  
00030  IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
00031  OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR EXPENSES
00032  OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE DAMAGES OR OTHER
00033  SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS OF PROFITS, REVENUE
00034  OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR DAMAGES OF ANY KIND),
00035  HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF LIABILITY, WHETHER DERIVED
00036  FROM CONTRACT, TORT (INCLUDING, BUT NOT LIMITED TO, NEGLIGENCE), OR OTHERWISE,
00037  ARISING OUT OF OR RELATING TO THE DATA OR ITS USE OR ANY OTHER PERFORMANCE,
00038  WHETHER OR NOT AUTODESK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS
00039  OR DAMAGE. 
00040 
00041 **************************************************************************************/
00042 
00043 #define KFBXSTREAMOPT_COLLADA_TRIANGULATE "TRIANGULATE"
00044 #define KFBXSTREAMOPT_COLLADA_SINGLEMATRIX "SINGLE MATRIX"
00045 #define KFBXSTREAMOPT_COLLADA_FRAME_COUNT "FRAME COUNT"
00046 #define KFBXSTREAMOPT_COLLADA_FRAME_RATE "FRAME RATE"
00047 #define KFBXSTREAMOPT_COLLADA_START "START"
00048 #define KFBXSTREAMOPT_COLLADA_TAKE_NAME "TAKE NAME"
00049 
00050 
00051 
00052 #include <kaydaradef.h>
00053 #ifndef KFBX_DLL 
00054     #define KFBX_DLL K_DLLIMPORT
00055 #endif
00056 
00057 #include <kfbxplugins/kfbxsdkmanager.h>
00058 #include <kfbxio/kfbxstreamoptions.h>
00059 #include <fbxfilesdk_nsbegin.h>
00060 
00064 class KFBX_DLL KFbxStreamOptionsColladaReader : public KFbxStreamOptions
00065 {
00066     KFBXOBJECT_DECLARE(KFbxStreamOptionsColladaReader,KFbxStreamOptions);
00067 
00068 public:
00069 
00072     void Reset();
00073 
00074 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00075 public:
00076     virtual KFbxObject* Clone(KFbxObject* pContainer, KFbxObject::ECloneType pCloneType) const;
00077 
00078 protected:
00079     KFbxStreamOptionsColladaReader(KFbxSdkManager& pManager, char const* pName);
00080     virtual ~KFbxStreamOptionsColladaReader();
00081     virtual void Construct(const KFbxStreamOptionsColladaReader* pFrom);
00082     virtual bool ConstructProperties( bool pForceSet );
00083     virtual void Destruct(bool pRecursive, bool pDependents);
00084 
00085 #endif
00086 };
00087 
00091 class KFBX_DLL KFbxStreamOptionsColladaWriter : public KFbxStreamOptions
00092 {
00093     KFBXOBJECT_DECLARE(KFbxStreamOptionsColladaWriter,KFbxStreamOptions);
00094 
00095 public:
00096 
00099     void Reset();
00100 
00105     void SetTimeMode(KTime::ETimeMode pTimeMode, double pCustomFrameRate = 0.0);
00106 
00107     
00111     KTime GetFramePeriod();
00112 
00113 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00114 public:
00115     virtual KFbxObject* Clone(KFbxObject* pContainer, KFbxObject::ECloneType pCloneType) const;
00116 protected:
00117 
00118     KFbxStreamOptionsColladaWriter(KFbxSdkManager& pManager, char const* pName);
00119     virtual ~KFbxStreamOptionsColladaWriter();
00120     virtual void Construct(const KFbxStreamOptionsColladaWriter* pFrom);
00121     virtual bool ConstructProperties( bool pForceSet );
00122     virtual void Destruct(bool pRecursive, bool pDependents);
00123 private:
00124     KTime::ETimeMode mTimeMode;
00125 
00126 #endif
00127 };
00128 
00129 #include <fbxfilesdk_nsend.h>
00130 
00131 #endif