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

rdVertices.h

00001 // rdVertices.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 __rdVertices_h__
00010 #define __rdVertices_h__
00011 
00012 
00013 #include "rdTools.h"
00014 #include "rdPtrArray.h"
00015 #include "rdV3D.h"
00016 
00017 
00018 //=============================================================================
00019 //=============================================================================
00026 class RDTOOLS_API rdVertices : public rdPtrArray
00027 {
00028 
00029 //=============================================================================
00030 // DATA
00031 //=============================================================================
00032 public:
00033 
00034 protected:
00035 
00036 
00037 //=============================================================================
00038 // METHODS
00039 //=============================================================================
00040 public:
00041    virtual ~rdVertices();
00042    rdVertices();
00043    rdVertices(IDOM_Element *aElement);
00044 private:
00045    void setNull();
00046 
00047    //--------------------------------------------------------------------------
00048    // GET AND SET
00049    //--------------------------------------------------------------------------
00050 public:
00051    virtual rdV3D* getVertex(int aIndex);
00052 
00053    //--------------------------------------------------------------------------
00054    // OPERATIONS
00055    //--------------------------------------------------------------------------
00056    void translate(double aX,double aY,double aZ);
00057    void rotate(int aXYZ,double aRadians);
00058 
00059    //--------------------------------------------------------------------------
00060    // XML
00061    //--------------------------------------------------------------------------
00062    virtual void updateObject(bool aDeep=true);
00063    virtual void updateNode(bool aDeep=true);
00064 
00065 //=============================================================================
00066 }; // END of class rdVertices
00067 //=============================================================================
00068 //=============================================================================
00069 
00070 #endif //__rdVertices_h__

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