VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwBoundingVolume.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 #include <matrix/3dBoundingVolume.h>
19 
23 
24 #include "vrfutil/vrfutilDefines.h"
25 class DT_DLL_vrfutil DtRwBoundingVolume : public DtReaderWriter, public Dt3dBoundingVolume
26 {
27 public:
30 
32  DtRwBoundingVolume(const DtString& name,
33  DtReaderWriterRegistry* const parentRegistry = NULL);
34 
36  DtReaderWriterRegistry* const parentRegistry = NULL);
37 
38 
39 
41  DtRwBoundingVolume(const DtString& name, const Dt3dBoundingVolume&
42  fromBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
43 
44  DtRwBoundingVolume(const DtSymbolString& name, const Dt3dBoundingVolume&
45  fromBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
46 
49 
52  fromRwBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
53 
55  fromRwBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
56 
59  virtual void putData(DtEnvironmentSP, DtEnvValueSP parent) const override;
60  virtual void getData(const DtEnvironmentSP, const DtEnvValueSP value,
62  const DtVariableBindingsList& bindings = DtVariableBindingsList()) override;
63 
65  static const char* theXmlType();
66 
67  virtual const char* xmlType() const override
68  {
69  return theXmlType();
70  }
72 
73  virtual DtString prettyPrint() const override;
74 
76  virtual ~DtRwBoundingVolume() override;
77 
80  DtRwBoundingVolume & operator=(const Dt3dBoundingVolume & orig);
81 
82  virtual void putData(std::string& fp, int indentLevel = 0) override;
83  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
84  const DtVariableBindingsList& variableBindings) override;
85 
89  virtual const char* readerWriterType() const override;
90 
91  virtual bool operator==(const DtRwBoundingVolume&) const;
92 
93 protected:
94 
95 };
bool operator==(const DtReaderWriter &) const
Equivalence operator.
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
virtual DtlObjPtr getData(DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Deriving class overrides these to get/put class specific data.
Definition: readerWriter.h:85
Definition: readerWriterRegistry.h:39
virtual DtString prettyPrint() const
Routine to return a human readable form of the reader/writer variable. Not all reader/writer classes ...
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
virtual void putData(std::string &fp, int indentLevel=0)
Deriving class overrides these to get/put class specific data.
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
static const char * theXmlType()
The type that is used when archiving to an XML stream.
DT_DLL_readerWriter std::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
File: rwBndingVol.h.
Definition: rwBoundingVolume.h:25
virtual const char * xmlType() const override
Routines to archive/dearchive from an XML Environment.
Definition: rwBoundingVolume.h:67

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)