VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
movementBasedTerrainPreloadControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 
16 #include <readerWriter/rwReal.h>
17 #include <readerWriter/rwString.h>
18 
23 {
24 public:
27  DtReaderWriterRegistry* parentRegistry = 0);
28 
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
34 
38 
41  virtual DtString type() const;
42 
44  DtReaderWriterRegistry* parentRegistry = 0) const;
45 
48 
51  virtual DtString geometryType() const;
52  virtual void setGeometryType(const DtString& type);
54 
57  virtual double minPreloadDistance() const;
58  virtual void setMinPreloadDistance(double distance);
60 
63  virtual double maxPreloadDistance() const;
64  virtual void setMaxPreloadDistance(double distance);
66 
69  virtual double sphereMaxSpeed() const;
70  virtual void setSphereMaxSpeed(double speed);
72 
73 protected:
76 
77 protected:
80 
81 
88 
95 
103 
104 
112 };
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtRwString myGeometryType
Parameter Name: geometry-type Parameter Description: Type of geometry used to define the preload for ...
Definition: movementBasedTerrainPreloadControllerDescriptor.h:87
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points. Coordinates are in local database coordinates The coordinat...
Descriptor for the DtMovementBasedTerrainPreloadController class. Contains parameters that can be spe...
Definition: movementBasedTerrainPreloadControllerDescriptor.h:22
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Base class for the preload controller descriptors. Contains parameters that can be specified in the p...
Definition: terrainPreloadControllerDescriptor.h:18
static DtComponentDescriptor * creator()
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtTerrainPreloadControllerDescriptor & operator=(const DtTerrainPreloadControllerDescriptor &orig)
assignment
DtRwReal myMinPreloadDistance
Parameter Name: min-preload-distance Parameter Description: Minimum distance from the entity to prelo...
Definition: movementBasedTerrainPreloadControllerDescriptor.h:94
DtRwReal mySphereMaxSpeed
Parameter Name: sphere-max-speed Parameter Description: If speed is greater than this value...
Definition: movementBasedTerrainPreloadControllerDescriptor.h:110
DtRwReal myMaxPreloadDistance
Parameter Name: max-preload-distance Parameter Description: Maximum distance from the entity to prelo...
Definition: movementBasedTerrainPreloadControllerDescriptor.h:102
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)