Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

rdTriangles.h

00001 // rdTriangles.h
00002 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00003 // Copyright 2002 Realistic Dynamics, Inc.
00004 // All rights reserved.
00005 //
00006 // Please do not read, copy, distribute, or use without permission.
00007 // Contact: Frank C. Anderson, fca@RealisticDynamics.com
00008 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00009 #ifndef __rdTriangles_h__
00010 #define __rdTriangles_h__
00011 
00012 
00013 #include "rdTools.h"
00014 #include "rdPtrArray.h"
00015 #include "rdTriangle.h"
00016 
00017 
00018 //=============================================================================
00019 //=============================================================================
00026 class RDTOOLS_API rdTriangles : public rdPtrArray
00027 {
00028 
00029 //=============================================================================
00030 // DATA
00031 //=============================================================================
00032 public:
00033 
00034 protected:
00035 
00036 
00037 //=============================================================================
00038 // METHODS
00039 //=============================================================================
00040 public:
00041    virtual ~rdTriangles();
00042    rdTriangles();
00043    rdTriangles(IDOM_Element *aElement);
00044 private:
00045    void setNull();
00046 
00047    //--------------------------------------------------------------------------
00048    // GET AND SET
00049    //--------------------------------------------------------------------------
00050 public:
00051    void setVertices(rdVertices *aVertices);
00052    virtual rdTriangle* getTriangle(int aIndex);
00053 
00054    //--------------------------------------------------------------------------
00055    // OPERATIONS
00056    //--------------------------------------------------------------------------
00057    void updateIndices();
00058 
00059    //--------------------------------------------------------------------------
00060    // DOCUMENT AND NODE
00061    //--------------------------------------------------------------------------
00062    virtual void updateNode(bool aDeep=true);
00063 
00064 
00065 //=============================================================================
00066 }; // END of class rdTriangles
00067 //=============================================================================
00068 //=============================================================================
00069 
00070 #endif //__rdTriangles_h__

Generated on Wed Aug 20 02:17:06 2003 for Simulation Software by doxygen1.3