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

pandatool/src/mayaprogs/mayaPview.h

Go to the documentation of this file.
00001 // Filename: mayaPview.h
00002 // Created by:  drose (11Mar03)
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 
00019 #ifndef MAYAPVIEW_H
00020 #define MAYAPVIEW_H
00021 
00022 #include "pandatoolbase.h"
00023 #include "pandaFramework.h"
00024 
00025 #include "pre_maya_include.h"
00026 #include <maya/MArgList.h>
00027 #include <maya/MPxCommand.h>
00028 #include <maya/MObject.h>
00029 #include "post_maya_include.h"
00030 
00031 ////////////////////////////////////////////////////////////////////
00032 //       Class : MayaPview
00033 // Description : This class serves as a plug-in to Maya to allow
00034 //               viewing the current Maya selection as it will be
00035 //               converted to Panda.
00036 ////////////////////////////////////////////////////////////////////
00037 class MayaPview : public MPxCommand {
00038 public:
00039   MayaPview();
00040   virtual MStatus doIt(const MArgList &);
00041 
00042   static void *creator();
00043 
00044 private:
00045   bool convert(const NodePath &parent);
00046 };
00047 
00048 EXPCL_MISC MStatus initializePlugin(MObject obj);
00049 EXPCL_MISC MStatus uninitializePlugin(MObject obj);
00050 
00051 
00052 #endif

Generated on Fri May 2 03:21:26 2003 for Panda-Tool by doxygen1.3