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 override;
42 
43  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
44 
47 
50  virtual DtString geometryType() const;
51  virtual void setGeometryType(const DtString& type);
53 
56  virtual double minPreloadDistance() const;
57  virtual void setMinPreloadDistance(double distance);
59 
62  virtual double maxPreloadDistance() const;
63  virtual void setMaxPreloadDistance(double distance);
65 
68  virtual double sphereMaxSpeed() const;
69  virtual void setSphereMaxSpeed(double speed);
71 
72 protected:
75 
76 protected:
79 
80 
87 
94 
102 
103 
111 };
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
#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:86
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()
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:93
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwReal mySphereMaxSpeed
Parameter Name: sphere-max-speed Parameter Description: If speed is greater than this value...
Definition: movementBasedTerrainPreloadControllerDescriptor.h:109
DtRwReal myMaxPreloadDistance
Parameter Name: max-preload-distance Parameter Description: Maximum distance from the entity to prelo...
Definition: movementBasedTerrainPreloadControllerDescriptor.h:101

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)