Alphabetical Class Index   Class Hierarchy   Compound Members   File Members   File List  

HOpcodeShell.h
1 
2 //
3 // Copyright (c) 2000 by Tech Soft 3D, LLC.
4 // The information contained herein is confidential and proprietary to
5 // Tech Soft 3D, LLC., and considered a trade secret as defined under
6 // civil and criminal statutes. Tech Soft 3D shall pursue its civil
7 // and criminal remedies in the event of unauthorized use or misappropriation
8 // of its trade secrets. Use of this information by anyone other than
9 // authorized employees of Tech Soft 3D, LLC. is granted only under a
10 // written non-disclosure agreement, expressly prescribing the scope and
11 // manner of such use.
12 //
13 // $Id: 8607527c64fc86cfec8c913ae3daf78deae3af3b $
14 //
15 
16 #ifndef HBINFILETK_SHELL
17 #define HBINFILETK_SHELL
18 
19 #include "HOpcodeHandler.h"
20 #include "BOpcodeShell.h"
21 #include "HPolyhedron.h"
22 
23 
25 
35 class HBINFILETK_API HTK_Shell : public TK_Shell {
36  protected:
38  virtual TK_Status Usefulness(BStreamFileToolkit & tk, HC_KEY key, int lod, float alter &score) const;
39  TK_Status Revisit(BStreamFileToolkit & tk, float priority=0.0f, int lod=-1) const;
41  TK_Status Revisit(BStreamFileToolkit & tk, int lod) const { return Revisit (tk, 0.0f, lod); }
48  TK_Status ProcessRevisits( BStreamFileToolkit & tk, int lod_in, bool *do_continue );
53  TK_Status LabelFakeEdges () alter;
54 
55  public:
56  TK_Status Execute (BStreamFileToolkit & tk) alter;
57  TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, int variant=-1) alter;
58  TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, char const * special) alter
59  { return TK_Shell::Interpret(tk, key, special); }
60  TK_Status Clone (BStreamFileToolkit & tk, BBaseOpcodeHandler **handler) const;
61  bool Match_Instance (BStreamFileToolkit const & tk, Recorded_Instance alter * instance) alter;
62 
63 }; //end declaration of class TK_Shell
64 
65 
66 #endif
TK_Status Revisit(BStreamFileToolkit &tk, int lod) const
variant that doesn't have a priority value (which is used for sorting order)
Definition: HOpcodeShell.h:41
Handles the TKE_Shell opcode.
Definition: BOpcodeShell.h:31
#define alter
complementary to const, indicates we thought about it instead of a forgotten "const" ...
Definition: BStream.h:225
void Revisit(BStreamFileToolkit &tk, float priority=0.0f, int variant=0) const
Definition: BOpcodeHandler.h:656
The BStreamFileToolkit class provides support for importing/exporting HOOPS Stream File information...
Definition: BStreamFileToolkit.h:328
#define HC_KEY
Provides HOOPS/3dGS-specific handling of the TKE_Shell opcode.
Definition: HOpcodeShell.h:35
virtual TK_Status Interpret(BStreamFileToolkit &tk, ID_Key key, int variant=0) alter
The BBaseOpcodeHandler abstract class is used as a base for derived classes which manage logical piec...
Definition: BOpcodeHandler.h:60
TK_Status
Codes which can be either passed to various toolkit functions, or indicate the result of a toolkit fu...
Definition: BStream.h:237
#define ID_Key
Definition: BStream.h:219
virtual TK_Status Clone(BStreamFileToolkit &tk, BBaseOpcodeHandler **handler) const
Definition: BOpcodeHandler.h:199
virtual bool Match_Instance(BStreamFileToolkit const &tk, Recorded_Instance alter *instance) alter