00001 // 00002 // Copyright (c) 2000 by Tech Soft 3D, LLC. 00003 // The information contained herein is confidential and proprietary to 00004 // Tech Soft 3D, LLC., and considered a trade secret as defined under 00005 // civil and criminal statutes. Tech Soft 3D shall pursue its civil 00006 // and criminal remedies in the event of unauthorized use or misappropriation 00007 // of its trade secrets. Use of this information by anyone other than 00008 // authorized employees of Tech Soft 3D, LLC. is granted only under a 00009 // written non-disclosure agreement, expressly prescribing the scope and 00010 // manner of such use. 00011 // 00012 // $Id: 4296e9d7354f6520b21fe6100f3f2370f897ebfe $ 00013 // 00014 #ifndef HBINFILETK_POLYHEDRON 00015 #define HBINFILETK_POLYHEDRON 00016 00017 #include "BPolyhedron.h" 00018 00027 class HBINFILETK_API HTK_Polyhedron : public TK_Polyhedron { 00028 private: 00029 HTK_Polyhedron():TK_Polyhedron(0){}; 00030 TK_Status Execute (BStreamFileToolkit & tk) alter; 00031 TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, int variant=0) alter; 00032 TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, char const * special) alter 00033 { return TK_Polyhedron::Interpret(tk, key, special); } 00034 00035 00036 public: 00038 TK_Status HExecute (BStreamFileToolkit & tk, int mesh_columns = 0) alter; 00040 TK_Status HInterpret (BStreamFileToolkit & tk, HC_KEY key, int lod=0, int mesh_columns=0) alter; 00041 00043 bool match_points (Recorded_Instance const * instance, float const * instance_points); 00045 bool match_attributes (Recorded_Instance const * instance); 00046 }; 00047 00048 00050 00060 class HBINFILETK_API HTK_Mesh : public TK_Mesh { 00061 public: 00062 TK_Status Execute (BStreamFileToolkit & tk) alter; 00063 TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, int variant=0) alter; 00064 TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, char const * special) alter 00065 { return TK_Mesh::Interpret(tk, key, special); } 00066 TK_Status Clone (BStreamFileToolkit & tk, BBaseOpcodeHandler **handler) const; 00067 bool Match_Instance (BStreamFileToolkit const & tk, Recorded_Instance alter * instance) alter; 00068 }; 00069 00070 #endif 00071 00072