Alphabetical Class Index   Class Hierarchy   Compound Members   File Members   File List  

HPolyhedron.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: 4296e9d7354f6520b21fe6100f3f2370f897ebfe $
13 //
14 #ifndef HBINFILETK_POLYHEDRON
15 #define HBINFILETK_POLYHEDRON
16 
17 #include "BPolyhedron.h"
18 
27 class HBINFILETK_API HTK_Polyhedron : public TK_Polyhedron {
28  private:
31  TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, int variant=0) alter;
32  TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, char const * special) alter
33  { return TK_Polyhedron::Interpret(tk, key, special); }
34 
35 
36  public:
38  TK_Status HExecute (BStreamFileToolkit & tk, int mesh_columns = 0) alter;
40  TK_Status HInterpret (BStreamFileToolkit & tk, HC_KEY key, int lod=0, int mesh_columns=0) alter;
41 
43  bool match_points (Recorded_Instance const * instance, float const * instance_points);
45  bool match_attributes (Recorded_Instance const * instance);
46 };
47 
48 
50 
60 class HBINFILETK_API HTK_Mesh : public TK_Mesh {
61  public:
63  TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, int variant=0) alter;
64  TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, char const * special) alter
65  { return TK_Mesh::Interpret(tk, key, special); }
66  TK_Status Clone (BStreamFileToolkit & tk, BBaseOpcodeHandler **handler) const;
67  bool Match_Instance (BStreamFileToolkit const & tk, Recorded_Instance alter * instance) alter;
68 };
69 
70 #endif
71 
72 
Definition: HPolyhedron.h:27
#define alter
complementary to const, indicates we thought about it instead of a forgotten "const" ...
Definition: BStream.h:225
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_Mesh opcode.
Definition: HPolyhedron.h:60
virtual TK_Status Interpret(BStreamFileToolkit &tk, ID_Key key, int variant=0) alter
Handles the TKE_Mesh opcode.
Definition: BPolyhedron.h:999
virtual TK_Status Execute(BStreamFileToolkit &tk) alter
TK_Status Interpret(BStreamFileToolkit &tk, ID_Key key, char const *special) alter
Definition: HPolyhedron.h:64
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
Base class for shell and mesh.
Definition: BPolyhedron.h:25
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