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

panda/src/builder/mesher.h

Go to the documentation of this file.
00001 // Filename: mesher.h
00002 // Created by:  drose (17Sep97)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 #ifndef MESHER_H
00019 #define MESHER_H
00020 
00021 #include <pandabase.h>
00022 
00023 #include "mesherConfig.h"
00024 #include "mesherFanMaker.h"
00025 #include "mesherEdge.h"
00026 #include "mesherStrip.h"
00027 #include "mesherTempl.h"
00028 #include "builderPrim.h"
00029 
00030 
00031 #ifdef SUPPORT_FANS
00032 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, MesherFanMaker<BuilderPrim>);
00033 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, MesherFanMaker<BuilderPrimI>);
00034 #endif
00035 
00036 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, MesherEdge<BuilderPrim>);
00037 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, MesherStrip<BuilderPrim>);
00038 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, MesherTempl<BuilderPrim>);
00039 
00040 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, MesherEdge<BuilderPrimI>);
00041 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, MesherStrip<BuilderPrimI>);
00042 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, MesherTempl<BuilderPrimI>);
00043 
00044 class EXPCL_PANDAEGG Mesher : public MesherTempl<BuilderPrim> {
00045 public:
00046   Mesher(BuilderBucket *bucket) : MesherTempl<BuilderPrim>(bucket) {}
00047 };
00048 
00049 class EXPCL_PANDAEGG MesherI : public MesherTempl<BuilderPrimI> {
00050 public:
00051   MesherI(BuilderBucket *bucket) : MesherTempl<BuilderPrimI>(bucket) {}
00052 };
00053 
00054 // Tell GCC that we'll take care of the instantiation explicitly here.
00055 #ifdef __GNUC__
00056 #pragma interface
00057 #endif
00058 
00059 #endif
00060 

Generated on Fri May 2 00:34:48 2003 for Panda by doxygen1.3