00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Cristin Barghiel 00008 * Side Effects Software Inc 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: MSS_SculptState.h 00015 * 00016 * COMMENTS: 00017 * This is the state for interactively deforming geometry with brushes. 00018 */ 00019 00020 #ifndef __MSS_SculptState_H__ 00021 #define __MSS_SculptState_H__ 00022 00023 #include "MSS_API.h" 00024 #include "MSS_BrushBaseState.h" 00025 00026 class MSS_API MSS_SculptState : public MSS_BrushBaseState 00027 { 00028 public: 00029 // Class constructor and destructor. 00030 MSS_SculptState(JEDI_View &view, PI_StateTemplate &templ, 00031 BM_SceneManager *scene, 00032 const char *cursor = BM_DEFAULT_CURSOR); 00033 virtual ~MSS_SculptState(); 00034 00035 // This constructor and parameter template list go into the DM_StateTemplate 00036 // for this state. 00037 static BM_State *ourConstructor(BM_View &view, PI_StateTemplate &templ, 00038 BM_SceneManager *scene); 00039 static PRM_Template ourTemplateList[]; 00040 00041 // The name and type of this class: 00042 virtual const char *className() const; 00043 00044 protected: 00045 // Respond to keyboard events. 00046 virtual int handleKeyTypeEvent(UI_Event *event, BM_Viewport &); 00047 00048 // Convert an op menu entry to a brush operation: 00049 virtual SOP_BrushOp menuToBrushOp(const UI_Value &menuvalue) const; 00050 }; 00051 00052 #endif
1.5.9