00001 //**************************************************************************/ 00002 // Copyright (c) 1998-2006 Autodesk, Inc. 00003 // All rights reserved. 00004 // 00005 // These coded instructions, statements, and computer programs contain 00006 // unpublished proprietary information written by Autodesk, Inc., and are 00007 // protected by Federal copyright law. They may not be disclosed to third 00008 // parties or copied or duplicated in any form, in whole or in part, without 00009 // the prior written consent of Autodesk, Inc. 00010 //**************************************************************************/ 00011 #pragma once 00012 00013 #include "maxheap.h" 00014 #include "point3.h" 00015 #include "matrix3.h" 00016 00022 class SubObjAxisCallback: public MaxHeapOperators { 00023 public: 00025 virtual ~SubObjAxisCallback() {} 00031 virtual void Center(Point3 c,int id)=0; 00037 virtual void TM(Matrix3 tm,int id)=0; 00047 virtual int Type()=0; 00048 }; 00049 00050 // Values returned by Type(); 00051 #define SO_CENTER_SELECTION 1 00052 #define SO_CENTER_PIVOT 2