
Public Member Functions | |
| virtual MCCOMErr MCCOMAPI | CreateMiniModelerUI (IMFPart **UIPart, IMCUnknown *inElement, IMFDocument *inDocument)=0 |
| virtual MCCOMErr MCCOMAPI | CleanUp ()=0 |
| virtual boolean MCCOMAPI | CanModify (IMFResponder *inSource, int32 inMessage)=0 |
| virtual boolean MCCOMAPI | HandleUIPartHit (IMFPart *inTopPart, int32 inMessage, IMFResponder *inSource, void *inData)=0 |
| virtual MCCOMErr MCCOMAPI I3DExMiniModeler::CreateMiniModelerUI | ( | IMFPart ** | UIPart, | |
| IMCUnknown * | inElement, | |||
| IMFDocument * | inDocument | |||
| ) | [pure virtual] |
Create a custom part to modify the element passed
| UIPart | The part to be created. | |
| inElement | The primitive to be edited by the modeler. | |
| inDocument | The current document. |
| virtual MCCOMErr MCCOMAPI I3DExMiniModeler::CleanUp | ( | ) | [pure virtual] |
Should remove and destroy all the parts created in CreateMiniModeler
| virtual boolean MCCOMAPI I3DExMiniModeler::CanModify | ( | IMFResponder * | inSource, | |
| int32 | inMessage | |||
| ) | [pure virtual] |
Returns true if the passed source can modify the primitive with the passed message. If true is returned, HandleUIPartHit will then be called to handle the modification, if false is returned, HandleUIPartHit won't be called.
| inSource,: | the part to check | |
| inMessage | the message id. |
| virtual boolean MCCOMAPI I3DExMiniModeler::HandleUIPartHit | ( | IMFPart * | inTopPart, | |
| int32 | inMessage, | |||
| IMFResponder * | inSource, | |||
| void * | inData | |||
| ) | [pure virtual] |
Implement this method to modify the primitive according to the part modification.
| inTopPart,: | the top part | |
| inMessage,: | message id | |
| inSource,: | the part where the message comes from | |
| inData,: | data |
1.5.3