Changeset 1325 for GTP/trunk/Lib/Geom/shared/GTGeometry/include
- Timestamp:
- 09/06/06 13:27:40 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/include/VertexData.h
r1069 r1325 29 29 private: 30 30 unsigned int numinds, numvalidinds; 31 unsigned int current_submesh; 31 32 public: 32 IndexData(unsigned int numi):numinds(numi),numvalidinds(numi){ }33 IndexData(unsigned int numi):numinds(numi),numvalidinds(numi){ current_submesh=0; } 33 34 virtual ~IndexData(void){} 34 35 … … 37 38 virtual void End(void)=0; 38 39 39 // virtual void UpdateData(int*,int)=0;40 41 40 virtual unsigned int GetIndex(unsigned int) const =0; 42 41 unsigned int GetNumMaxIndices(void) const { return numinds; } 43 42 unsigned int GetNumValidIndices(void) const { return numvalidinds; } 44 void SetNumValidIndices(unsigned int valid){ numvalidinds=valid; } 43 void SetNumValidIndices(unsigned int valid){ numvalidinds=valid; } // this should not be called from client applications 44 void SetCurrentSubmesh(unsigned int c){ current_submesh=c; } // this should not be called from client applications 45 unsigned int GetCurrentSubmesh(void) const { return current_submesh; } 45 46 }; 46 47
Note: See TracChangeset
for help on using the changeset viewer.