RTFX  0.3
Real time special effects collaborative visualization and production library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
RTFXRaw.h
1 #ifndef __RTFX_RAW__
2 #define __RTFX_RAW__
3 
14 #include <iostream>
15 #include <sstream>
16 #include "RTFXObject.h"
17 #include "RTFX_API.h"
18 
19 namespace RTFX
20 {
27  class RTFXAPI RTFXRaw : public RTFXObject
28  {
29  public:
30 
33  RTFXRaw();
34 
37  RTFXRaw( bool _genID );
38 
40  ~RTFXRaw();
41 
43  RTFXRaw( const RTFXRaw &_c );
44 
48  void Update( RTFXObject * _cam );
49 
50 
52  void ToNative( AXISFRAME _frame );
53 
55  void FromNative( AXISFRAME _frame );
56 
58  void ChangeFrame( AXISFRAME _from, AXISFRAME _to );
59 
61  void SetFile( string _fileName, string _filePath, string _fileType );
62 
64  void WriteFile( string _filePath );
65 
66  private:
67 
69  void Init( bool _genID );
70 
71  friend class boost::serialization::access;
72  template<class Archive>
73  void serialize( Archive &_ar, const unsigned int _version )
74  {
75  debug( ostringstream().flush() << "RTFXRaw::serialize" << endl );
76  _ar & boost::serialization::base_object<RTFXObject>( *this );
77  }
78  };
79 }
80 
81 BOOST_CLASS_EXPORT_KEY( RTFX::RTFXRaw )
82 
83 #endif
84