Alphabetical Class Index   Class Hierarchy   Compound Members   File Members   File List  

HPolyhedron.h
00001 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc.
00002 //
00003 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
00004 // and considered a trade secret as defined under civil and criminal statutes.
00005 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
00006 // unauthorized use or misappropriation of its trade secrets.  Use of this information
00007 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
00008 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
00009 
00010 #ifndef HBINFILETK_POLYHEDRON
00011 #define HBINFILETK_POLYHEDRON
00012 
00013 #include "BPolyhedron.h"
00014 
00023 class HBINFILETK_API HTK_Polyhedron : public TK_Polyhedron {
00024     private:
00025         HTK_Polyhedron():TK_Polyhedron(0){};
00026         TK_Status   Execute (BStreamFileToolkit & tk);
00027         TK_Status   Interpret (BStreamFileToolkit & tk, ID_Key key, int variant=0);
00028         TK_Status   Interpret (BStreamFileToolkit & tk, ID_Key key, char const * special)
00029                                 { return TK_Polyhedron::Interpret(tk, key, special); }
00030 
00031 
00032     public:
00034         TK_Status   HExecute (BStreamFileToolkit & tk, int mesh_columns = 0);
00036         TK_Status   HInterpret (BStreamFileToolkit & tk, HC_KEY key, int lod=0, int mesh_columns=0);
00037 
00039         bool        match_points (Recorded_Instance const * instance, float const * instance_points);
00041         bool        match_attributes (Recorded_Instance const * instance);
00042 };
00043 
00044 
00046 
00056 class HBINFILETK_API HTK_Mesh : public TK_Mesh {
00057     public:
00058         TK_Status   Execute (BStreamFileToolkit & tk);
00059         TK_Status   Interpret (BStreamFileToolkit & tk, ID_Key key, int variant=0);
00060         TK_Status   Interpret (BStreamFileToolkit & tk, ID_Key key, char const * special)
00061                                 { return TK_Mesh::Interpret(tk, key, special); }
00062         TK_Status   Clone (BStreamFileToolkit & tk, BBaseOpcodeHandler **handler) const;
00063         bool        Match_Instance (BStreamFileToolkit const & tk, Recorded_Instance * instance);
00064 }; 
00065 
00066 #endif
00067 
00068