VR-Forces 4.1 Class Documentation
DtSpeedTreeProfile.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtSpeedTreeProfile.h,v $ $Revision: 1.8 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvSt/vrvSt.h>
16 
17 namespace makVrv
18 {
25  {
26  public:
27 
29 
30  virtual ~DtSpeedTreeProfile();
31 
33  {
34  float time;
35  bool wireframe;
36 
37  float fogStart;
38  float fogEnd;
39  float fogColor[3];
40 
41  float lightDir[3];
42  float lightDiffuse[3];
43  float lightScale;
45  };
46 
47  virtual void display( const DisplayParameters& params,
48  float afCameraPos[3],
49  float afProjectionMatrix[16],
50  float afModelviewMatrix[16]) = 0;
51 
52  virtual void addTree(
53  const DtSpeedTreeDrawable::TreeInstanceRecord& record) = 0;
54  virtual void setLodDistances(float fnear, float ffar) = 0;
55  virtual void setFarDistance(float ffar) = 0;
56  virtual void rebuildForest() = 0;
57  virtual void clearForests() = 0;
58 
59  };
60 }

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)