Alphabetical Class Index   Class Hierarchy   Compound Members   File Members   File List  

HPolyPoly.h
1 //
2 // Copyright (c) 2000 by Tech Soft 3D, LLC.
3 // The information contained herein is confidential and proprietary to
4 // Tech Soft 3D, LLC., and considered a trade secret as defined under
5 // civil and criminal statutes. Tech Soft 3D shall pursue its civil
6 // and criminal remedies in the event of unauthorized use or misappropriation
7 // of its trade secrets. Use of this information by anyone other than
8 // authorized employees of Tech Soft 3D, LLC. is granted only under a
9 // written non-disclosure agreement, expressly prescribing the scope and
10 // manner of such use.
11 //
12 // $Id: 5210b24f8dcf1aae7a1fe37ed133f969089d4f05 $
13 //
14 
15 #ifndef HBINFILETK_POLYPOLY
16 #define HBINFILETK_POLYPOLY
17 
18 #include "HOpcodeHandler.h"
19 #include "BPolyPoly.h"
20 
21 
23 
39 class HBINFILETK_API HTK_PolyPolypoint : public TK_PolyPolypoint {
40  protected:
43  public:
45  HTK_PolyPolypoint(unsigned char op) : TK_PolyPolypoint(op) {
46  m_keys = 0;
47  };
49  Reset();
50  };
51 
53  TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, int variant=-1) alter;
54  TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, char const * special) alter
55  { return TK_PolyPolypoint::Interpret(tk, key, special); }
56  TK_Status Clone (BStreamFileToolkit & tk, BBaseOpcodeHandler **handler) const;
57  void Reset () alter{
58  delete[] m_keys;
59  m_keys = 0;
61  }
62 };
63 
64 
65 
66 #endif
void Reset() alter
Definition: HPolyPoly.h:57
#define alter
complementary to const, indicates we thought about it instead of a forgotten "const" ...
Definition: BStream.h:225
Provides HOOPS/3dGS-specific handling of the TKE_Polyline and TKE_Line opcodes.
Definition: HPolyPoly.h:39
The BStreamFileToolkit class provides support for importing/exporting HOOPS Stream File information...
Definition: BStreamFileToolkit.h:328
#define HC_KEY
HC_KEY * m_keys
list of entities keys
Definition: HPolyPoly.h:42
void Reset() alter
virtual TK_Status Interpret(BStreamFileToolkit &tk, ID_Key key, int variant=0) alter
TK_Status Execute(BStreamFileToolkit &tk) alter
TK_Status Clone(BStreamFileToolkit &tk, BBaseOpcodeHandler **handler) const
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
HTK_PolyPolypoint(unsigned char op)
Definition: HPolyPoly.h:45
Handles the TKE_PolyPolyline opcode.
Definition: BPolyPoly.h:42