VR-Forces 4.1 Class Documentation
rwSphere.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: rwSphere.h,v $ $Revision: 1.1 $ $State: Exp $
7 ** Created: 7/24/08 MEM
8 *******************************************************************************/
9 
12 
18 
19 #ifndef rwSphere_H_
20 #define rwSphere_H_
21 
22 #include "geometry/sphere.h"
23 #include "geometry/point.h"
24 #include "vrfutil/rdrWritr.h"
25 
29 
30 #include "vrfutil/vrfutilDefines.h"
32 {
33 public:
35  DtRwSphere(DtPoint newCenter, double newRadius);
36 
38  DtRwSphere(const DtString& name, DtPoint newCenter, double newRadius,
39  DtReaderWriterRegistry* const parentRegistry = NULL);
40 
41  DtRwSphere(const DtSymbolString& name, DtPoint newCenter, double newRadius,
42  DtReaderWriterRegistry* const parentRegistry = NULL);
43 
45  DtRwSphere(const DtString& name, const DtSphere&
46  fromBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
47 
48  DtRwSphere(const DtSymbolString& name, const DtSphere&
49  fromBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
50 
52  DtRwSphere(const DtRwSphere& orig);
53 
55  DtRwSphere(const DtString& name, const DtRwSphere&
56  fromRwBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
57 
58  DtRwSphere(const DtSymbolString& name, const DtRwSphere&
59  fromRwBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
60 
62  virtual ~DtRwSphere();
63 
65  DtRwSphere & operator=(const DtRwSphere & orig);
66  DtRwSphere & operator=(const DtSphere & orig);
67 
68  virtual void putData(FILE* fp, int indentLevel = 0);
69  virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
70  const DtVariableBindingsList& variableBindings);
71 
75  virtual const char* readerWriterType() const;
76 
77  virtual bool operator==(const DtRwSphere&) const;
78 
79 protected:
80 
81 };
82 
83 #endif

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)