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 * Side Effects Software Inc 00008 * 477 Richmond Street West 00009 * Toronto, Ontario 00010 * Canada M5V 3E7 00011 * 416-504-9876 00012 * 00013 * NAME: MSS_CaptureLayerPaintSelector.h ( Direct Manipulation Library, C++) 00014 * 00015 * COMMENTS: 00016 * Custom selector for the CaptureLayerPaint SOP. 00017 */ 00018 00019 #ifndef __MSS_CaptureLayerPaintSelector_h__ 00020 #define __MSS_CaptureLayerPaintSelector_h__ 00021 00022 #include "MSS_API.h" 00023 #include "MSS_ReusableSelector.h" 00024 00025 class OP_Node; 00026 00027 class MSS_API MSS_CaptureLayerPaintSelector : public MSS_ReusableSelector 00028 { 00029 public: 00030 MSS_CaptureLayerPaintSelector(OP3D_View &viewer, 00031 PI_SelectorTemplate &templ); 00032 virtual ~MSS_CaptureLayerPaintSelector(); 00033 00034 static BM_InputSelector *ourConstructor(BM_View &Viewer, 00035 PI_SelectorTemplate &templ); 00036 00037 virtual const char *className() const; 00038 00039 /// Generate special SOPs and Merge SOPs as necessary and fill in 00040 /// group parameters in the SOPs to enable editing of the 00041 /// selected geometry. edit_node is set to the current working SOP node. 00042 /// 00043 /// MSS_CaptureLayerPaintSelect::connectSops() does some initial prep 00044 /// work so that new Capture Layer Paint SOPs are created before 00045 /// deform-type SOPs in the network chain. 00046 virtual bool connectSops(bool update_sel_buttons, 00047 bool branch_off, OP_Node *&edit_node); 00048 00049 00050 private: 00051 SELECTOR_SETUP() 00052 }; 00053 00054 #endif
1.5.9