VR-Forces 4.0.4 Class Documentation
include/gdb/sphereIntRec.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: sphereIntRec.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef sphereIntRec_h
00013 #define sphereIntRec_h
00014 
00015 #include "geometry/intersectionRecord.h"
00016 #include <list>
00017 #include "gdb/allPoly.h"
00018 
00019 class DT_DLL_gdb DtSphereIntersectionRecord : public DtIntersectionRecord
00020 {
00021 public:
00022    typedef std::list<DtAllTypesPolygon*> DtPolygonList;
00023 
00024    DtSphereIntersectionRecord();
00025    virtual ~DtSphereIntersectionRecord();
00026 
00027    // copy constructor
00028    DtSphereIntersectionRecord(const DtSphereIntersectionRecord& orig);
00029 
00030    // assignment operator
00031    DtSphereIntersectionRecord& operator=(const DtSphereIntersectionRecord& orig);
00032 
00033    // clone this object
00034    virtual DtSphereIntersectionRecord* clone() const;
00035 
00036    // Adds this polygon to the intersected polygons list.
00037    virtual void addPolygon(DtAllTypesPolygon* poly);
00038 
00039    // Clears the intersected polygons list.
00040    virtual void clearPolygons();
00041 
00042    // \return The list of intersected polygons.
00043    virtual const DtPolygonList& intersectedPolygons() const;
00044 
00045 protected:
00046    DtPolygonList myIntersectedPolygons;
00047    
00048 };
00049 
00050 #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)