//+ // ============================================================================ // Copyright (C) Alias Systems Corp., and/or its licensors ("Alias"). // All rights reserved. These coded instructions, statements, computer // programs, and/or related material (collectively, the "Material") // contain unpublished information proprietary to Alias, which is // protected by Canadian and US federal copyright law and by international // treaties. This Material may not be disclosed to third parties, or be copied // or duplicated, in whole or in part, without the prior written consent of // Alias. ALIAS HEREBY DISCLAIMS ALL WARRANTIES RELATING TO THE MATERIAL, // INCLUDING, WITHOUT LIMITATION, ANY AND ALL EXPRESS OR IMPLIED WARRANTIES OF // NON-INFRINGEMENT, MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. // IN NO EVENT SHALL ALIAS BE LIABLE FOR ANY DAMAGES WHATSOEVER, WHETHER DIRECT, // INDIRECT, SPECIAL, OR PUNITIVE, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE // OR OTHER TORTIOUS ACTION, OR IN EQUITY, ARISING OUT OF OR RELATED TO THE // ACCESS TO, USE OF, OR RELIANCE UPON THE MATERIAL. // ============================================================================ //- //////////////////////////////////////////////////////////////////////// // // meshRemapCmd.cpp // // Description: // //////////////////////////////////////////////////////////////////////// #ifndef _MESH_REMAP_CMD_H_ #define _MESH_REMAP_CMD_H_ #include #include #include #include class MArgList; // MAIN CLASS DECLARATION FOR THE MEL COMMAND: class meshRemapCommand : public MPxCommand { private: int fFaceIdxSrc; int fFaceIdxDst; MIntArray fFaceVtxSrc; MIntArray fFaceVtxDst; MDagPath fDagPathSrc; MDagPath fDagPathDst; MStatus parseArgs(const MArgList&); public: meshRemapCommand(); virtual ~meshRemapCommand(); static void* creator(); MStatus setSeedInfo( bool src, MDagPath& path, int face, int vtx0, int vtx1 ); MStatus doIt(const MArgList&); MStatus redoIt(); }; #endif