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_SHELL 00011 #define HBINFILETK_SHELL 00012 00013 #include "HOpcodeHandler.h" 00014 #include "BOpcodeShell.h" 00015 #include "HPolyhedron.h" 00016 00017 00019 00029 class HBINFILETK_API HTK_Shell : public TK_Shell { 00030 protected: 00032 virtual TK_Status Usefulness(BStreamFileToolkit & tk, HC_KEY key, int lod, float &score) const; 00033 TK_Status Revisit(BStreamFileToolkit & tk, float priority=0.0f, int lod=-1) const; 00035 TK_Status Revisit(BStreamFileToolkit & tk, int lod) const { return Revisit (tk, 0.0f, lod); } 00042 TK_Status ProcessRevisits( BStreamFileToolkit & tk, int lod_in, bool *do_continue ); 00047 TK_Status LabelFakeEdges (); 00048 00049 public: 00050 TK_Status Execute (BStreamFileToolkit & tk); 00051 TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, int variant=-1); 00052 TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, char const * special) 00053 { return TK_Shell::Interpret(tk, key, special); } 00054 TK_Status Clone (BStreamFileToolkit & tk, BBaseOpcodeHandler **handler) const; 00055 bool Match_Instance (BStreamFileToolkit const & tk, Recorded_Instance * instance); 00056 00057 }; //end declaration of class TK_Shell 00058 00059 00060 #endif