VR-Forces 4.2 Class Documentation
rwVector.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
13 
16 
17 #pragma once
18 
19 #include <matrix/vlVector.h>
20 #include "vrfutil/rdrWritr.h"
21 #include "vrfutil/vrfutilDefines.h"
22 
24 {
25 public:
27  DtRwVector(const DtString& name = DtString::nullString(),
28  DtReaderWriterRegistry* parentRegistry = NULL);
29 
30  DtRwVector(const DtSymbolString& name,
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
34  DtRwVector(double x, double y, double z,
35  const DtString& name = DtString::nullString(),
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
38  DtRwVector(double x, double y, double z,
39  const DtSymbolString& name,
40  DtReaderWriterRegistry* parentRegistry = NULL);
41 
43  DtRwVector(const DtVector & fromVec,
44  const DtString& name = DtString::nullString(),
45  DtReaderWriterRegistry* parentRegistry = NULL);
46 
47  DtRwVector(const DtVector & fromVec,
48  const DtSymbolString& name,
49  DtReaderWriterRegistry* parentRegistry = NULL);
50 
52  DtRwVector(const DtRwVector & orig,
53  DtReaderWriterRegistry* parentRegistry = NULL);
54 
56  DtRwVector & operator=(const DtRwVector & orig);
57  DtRwVector & operator=(const DtVector & orig);
58 
59  virtual ~DtRwVector();
60 
61  virtual void putData(FILE * fp, int indentLevel = 0);
62  virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
63  const DtVariableBindingsList& variableBindings);
64 
65  virtual double distSquaredTo(const DtVector& point) const;
66 
70  virtual const char* readerWriterType() const;
71 
73  virtual DtString prettyPrint() const;
74 
75  bool operator==(const DtRwVector&) const;
76  bool operator!=(const DtRwVector& rhs) const { return !(*this == rhs); };
77 
78 protected:
79 
80 };
81 
82 
87 {
88 public:
90  DtRwOffsetVector(const DtString& name = DtString::nullString(),
91  DtReaderWriterRegistry* parentRegistry = NULL);
92 
93  DtRwOffsetVector(const DtSymbolString& name,
94  DtReaderWriterRegistry* parentRegistry = NULL);
95 
97  DtRwOffsetVector(double x, double y, double z,
98  const DtString& name = DtString::nullString(),
99  DtReaderWriterRegistry* parentRegistry = NULL);
100 
101  DtRwOffsetVector(double x, double y, double z,
102  const DtSymbolString& name,
103  DtReaderWriterRegistry* parentRegistry = NULL);
104 
106  DtRwOffsetVector(const DtVector & fromVec,
107  const DtString& name = DtString::nullString(),
108  DtReaderWriterRegistry* parentRegistry = NULL);
109 
110  DtRwOffsetVector(const DtVector & fromVec,
111  const DtSymbolString& name,
112  DtReaderWriterRegistry* parentRegistry = NULL);
113 
114  virtual ~DtRwOffsetVector();
115 
117  DtRwOffsetVector(const DtRwOffsetVector & orig,
118  DtReaderWriterRegistry* parentRegistry = NULL);
119 
122  DtRwOffsetVector & operator=(const DtRwVector & orig);
123  DtRwOffsetVector & operator=(const DtVector & orig);
124 
128  virtual const char* readerWriterType() const;
129 
131  virtual void setFront(double);
132  double front() const;
133 
135  virtual void setRight(double);
136  double right() const;
137 
139  virtual void setUp(double);
140  double up() const;
141 };

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)