VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
culturalFeatureParameters.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: culturalFeaturePar.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef culturalFeatureParameters_H_
16 #define culturalFeatureParameters_H_
17 
19 
20 #include <readerWriter/rwBoolean.h>
21 
22 class DtString;
24 
31 {
32 public:
34  DtCulturalFeatureParameters (const DtString& name = DtString::nullString(),
35  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
37  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
38 
39 protected:
42  const DtString& name = DtString::nullString(),
43  DtReaderWriterRegistry* parentRegistry = NULL);
45  const DtSymbolString& name,
46  DtReaderWriterRegistry* parentRegistry = NULL);
47 
48 public:
50  const DtCulturalFeatureParameters& orig);
51 
53  virtual ~DtCulturalFeatureParameters() override;
54 
56  const DtString& name = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = NULL) const override;
58  const DtSymbolString& name, DtReaderWriterRegistry* parentRegistry = NULL) const override;
59 
62  virtual bool inheritValues(const DtVrfObjectParameters* benefactor) override;
63 
65 
66  virtual bool gravityAligned() const;
68 
71  virtual DtString type() const override;
72 
74  benefactor);
75 public:
76 
78  static DtVrfObjectParameters* creator(DtEnvironmentSP env, DtEnvValueSP* objectNode);
79 
80 protected:
84 
88 
90 };
91 
92 #endif
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:64
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
Contains the DtMovingObjectParameters class declaration.
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
virtual DtString type() const override
Should return the type of object this is a parameter block for. Use the strings in vrfParamTypes...
Definition: readerWriterRegistry.h:39
virtual bool inheritValues(const DtVrfObjectParameters *benefactor) override
virtual DtVrfObjectParameters * clone(const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL) const override
const DtMovingObjectParameters & operator=(const DtMovingObjectParameters &orig)
assignment operator
The moving-object-param parameter type is used for objects that are capable of movement, such as individual entities and aggregates. DtMovingObjectParameters; holds all of the configurable parameters for the DtVrfMovingObjectStateRepository class. Parameters include support points, maximum speed, maximum reverse speed, turning radius, maximum slope, ordered speed, maximum acceleration, maximum deceleration, and fuel efficiency. Aggregates are moving objects and have this parameter type. All of the platform-specific parameter types derive from this one. .
Definition: movingObjectParameters.h:32
DtRwBoolean myGravityAligned
Parameter Name: gravity-aligned Parameter Description: Whether or not object clamps to the terrain...
Definition: culturalFeatureParameters.h:87
static DtVrfObjectParameters * creator(DtEnvironmentSP env, DtEnvValueSP *objectNode)
virtual void inheritValuesFromThisType(const DtMovingObjectParameters *benefactor)
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DT_DLL_readerWriter std::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
Contains the set of readable/writeable parameters associated with a cultural feature entity...
Definition: culturalFeatureParameters.h:30

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)