VR-Forces 4.1 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 protected:
76 
77 };
78 
79 
84 {
85 public:
87  DtRwOffsetVector(const DtString& name = DtString::nullString(),
88  DtReaderWriterRegistry* parentRegistry = NULL);
89 
90  DtRwOffsetVector(const DtSymbolString& name,
91  DtReaderWriterRegistry* parentRegistry = NULL);
92 
94  DtRwOffsetVector(double x, double y, double z,
95  const DtString& name = DtString::nullString(),
96  DtReaderWriterRegistry* parentRegistry = NULL);
97 
98  DtRwOffsetVector(double x, double y, double z,
99  const DtSymbolString& name,
100  DtReaderWriterRegistry* parentRegistry = NULL);
101 
103  DtRwOffsetVector(const DtVector & fromVec,
104  const DtString& name = DtString::nullString(),
105  DtReaderWriterRegistry* parentRegistry = NULL);
106 
107  DtRwOffsetVector(const DtVector & fromVec,
108  const DtSymbolString& name,
109  DtReaderWriterRegistry* parentRegistry = NULL);
110 
111  virtual ~DtRwOffsetVector();
112 
114  DtRwOffsetVector(const DtRwOffsetVector & orig,
115  DtReaderWriterRegistry* parentRegistry = NULL);
116 
119  DtRwOffsetVector & operator=(const DtRwVector & orig);
120  DtRwOffsetVector & operator=(const DtVector & orig);
121 
125  virtual const char* readerWriterType() const;
126 
128  virtual void setFront(double);
129  double front() const;
130 
132  virtual void setRight(double);
133  double right() const;
134 
136  virtual void setUp(double);
137  double up() const;
138 };

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)