VR-Forces 4.1 Class Documentation
spatialSubdivisionTerrainIntersectorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: spatialSubdivisionTerrainIntersectorDescriptor.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef spatialSubdivisionTerrainIntersectorDescriptor_h
13 #define spatialSubdivisionTerrainIntersectorDescriptor_h
14 
15 #include "gdb/gdbDefines.h"
17 
18 // Descriptor for the DtSpatialSubdivisionTerrainIntersector.
19 // Specifies the number of cells in each of the X Y and Z axis of the
20 // subdivision.
22 {
23 public:
27 
29 
30  virtual int terrainIntersectorType() const;
31 
32  virtual DtTerrainIntersectorDescriptor* clone() const;
33 
34  // The number of cells in the X axis of the subdivision.
36  virtual void setNumCellsX(int v);
37  virtual int numCellsX() const;
39 
40  // The number of cells in the Z axis of the subdivision.
42  virtual void setNumCellsY(int v);
43  virtual int numCellsY() const;
45 
46  // The number of cells in the Y axis of the subdivision.
48  virtual void setNumCellsZ(int v);
49  virtual int numCellsZ() const;
51 
52  // Set the number of cells in all three axis.
53  virtual void setNumCells(int x, int y, int z);
54 
55  static DtTerrainIntersectorDescriptor* create();
56 
57  virtual void descriptorInformation(DtString& name, DtString& properties) const;
58 
59 protected:
63 };
64 
65 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)