UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
u3d_rtmod_storage.hpp
1 /* u3d_rtmod_storage.hpp */
2 /* $Id: u3d_rtmod_storage.hpp,v 1.1 2008/05/13 12:19:18 sad Exp $ */
3 //------------------------------------------------------------------------------
4 #ifndef __u3d_rtmodstoragehpp
5 #define __u3d_rtmodstoragehpp
6 
7 #include "u3d_rtmod_defines.hpp"
8 #include "u3d_surfsource.hpp"
9 
10 
12  int pointId;
13  U3dCodeAr c;
14  U3dSurfSource *ss;
15 };
16 
17 //==============================================================================
20 {
21 public:
22 
24  ~U3dRTModStorage();
25 
26  U3dSurfSource* getSS(bool isSP, int pointId, U3dCodeAr c);
27 
28  /* !!! UNUSED (it is not clear, for what purposes it was made?..) !!! */
29  U3dSurfSource* getSS(bool isSP, int pointId, int bn, U3dCodeAr c);
30 
31  void setSS(bool isSP, int pointId, U3dCodeAr c/* may be useless */, U3dSurfSource *ss);
32 
33  int getSPSSNum() { return m_sp_ss.size(); }
34  int getRecSSNum() { return m_rec_ss.size(); }
35 
36 private:
37 
38  std::vector<U3dRTModStorageCell> m_sp_ss;
39  std::vector<U3dRTModStorageCell> m_rec_ss;
40 };
41 
42 
43 //----------------------------------------------------------------------------
44 #endif /* u3d_rtmod_storage.hpp */
Definition: u3d_rtmod_storage.hpp:11
Definition: u3d_surfsource.hpp:15
Definition: u3d_rtmod_storage.hpp:19