//+ // ============================================================================ // 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. // ============================================================================ //- //////////////////////////////////////////////////////////////////////// // // meshMapUtils.cpp // // Description: // Utility functions for the meshRemap and meshReorder commands // moveToolContext // //////////////////////////////////////////////////////////////////////// #ifndef _MESH_MAP_UTILS_H_ #define _MESH_MAP_UTILS_H_ #include "maya/MStatus.h" class MIntArray; class MFloatPointArray; class MDagPath; class MDagPathArray; class MObjectArray; class meshMapUtils { public: static MStatus traverseFace( MDagPath& path, int faceIdx, int v0, int v1, MIntArray& faceTraversal, MIntArray& cvMapping, MIntArray& cVMappingInverse, MIntArray& newPolygonCounts, MIntArray& newPolygonConnects, MFloatPointArray& origVertices, MFloatPointArray& newVertices ); static void intersectArrays( MIntArray&, MIntArray &); static MStatus validateFaceSelection( MDagPathArray&, MObjectArray&, int *, MIntArray *); }; #endif