meshacc.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  *<
00003     FILE: meshacc.h
00004 
00005     DESCRIPTION:  A class for getting at the private snap data of the mesh class
00006 
00007     CREATED BY: John Hutchinson     
00008 
00009     HISTORY: created 1/2/97
00010 
00011  *> Copyright (c) 1994, All Rights Reserved.
00012  *****************************************************************************/
00013 #pragma once
00014 #include "maxheap.h"
00015 #include "export.h"
00016 #include "mesh.h"
00017 
00018 class MeshAccess: public MaxHeapOperators {
00019 private:
00020     Mesh *mymesh;
00021 public:
00022     MeshAccess(Mesh *somemesh){mymesh = somemesh;}
00023     DllExport int BuildSnapData(GraphicsWindow *gw,int verts,int edges);
00024     char* GetsnapV(){
00025         return mymesh->snapV;
00026     }
00027     char* GetsnapF(){
00028         return mymesh->snapF;
00029     }
00030 };
00031