VR-Forces 4.0.4 Class Documentation
include/vrfutil/rwSphere.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: rwSphere.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ** Created: 7/24/08 MEM
00008 *******************************************************************************/
00009 
00012 
00018 
00019 #ifndef rwSphere_H_
00020 #define rwSphere_H_
00021 
00022 #include "geometry/sphere.h"
00023 #include "geometry/point.h"
00024 #include "vrfutil/rdrWritr.h"
00025 
00029 
00030 #include "vrfutil/vrfutilDefines.h"
00031 class DT_DLL_vrfutil DtRwSphere : public DtReaderWriter, public DtSphere
00032 {
00033 public:
00035    DtRwSphere(DtPoint newCenter, double newRadius);
00036 
00038    DtRwSphere(const DtString& name, DtPoint newCenter, double newRadius,
00039                       DtReaderWriterRegistry* const parentRegistry = NULL);
00040 
00041    DtRwSphere(const DtSymbolString& name, DtPoint newCenter, double newRadius,
00042                       DtReaderWriterRegistry* const parentRegistry = NULL);
00043 
00045    DtRwSphere(const DtString& name, const DtSphere& 
00046       fromBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
00047 
00048    DtRwSphere(const DtSymbolString& name, const DtSphere& 
00049       fromBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
00050 
00052    DtRwSphere(const DtRwSphere& orig);
00053 
00055    DtRwSphere(const DtString& name, const DtRwSphere& 
00056       fromRwBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
00057 
00058    DtRwSphere(const DtSymbolString& name, const DtRwSphere& 
00059       fromRwBoundingVolume, DtReaderWriterRegistry* const parentRegistry = NULL);
00060 
00062    virtual ~DtRwSphere();
00063 
00065    DtRwSphere & operator=(const DtRwSphere & orig);
00066    DtRwSphere & operator=(const DtSphere & orig);
00067 
00068    virtual void putData(FILE* fp, int indentLevel = 0);
00069    virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
00070       const DtVariableBindingsList& variableBindings);
00071 
00075    virtual const char* readerWriterType() const;
00076 
00077    virtual bool operator==(const DtRwSphere&) const;
00078 
00079 protected:
00080 
00081 };
00082 
00083 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)