added everything
This commit is contained in:
57
lib/maxsdk70/include/ParticleFlow/OneClickCreateCallBack.h
Executable file
57
lib/maxsdk70/include/ParticleFlow/OneClickCreateCallBack.h
Executable file
@@ -0,0 +1,57 @@
|
||||
/*! \file OneClickCreateCallBack.h
|
||||
\brief MouseCreateCallBack for objects that doesn't have
|
||||
3D attributes and therefore could be created with
|
||||
just one click. The callback is used by
|
||||
SimpleOperator and SimpleTest classes. The class
|
||||
has Singleton Pattern.
|
||||
*/
|
||||
/**********************************************************************
|
||||
*<
|
||||
CREATED BY: Oleg Bayborodin
|
||||
|
||||
HISTORY: created 10-25-01
|
||||
|
||||
*> Copyright (c) 2001, All Rights Reserved.
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef _ONECLICKCREATECALLBACK_H_
|
||||
#define _ONECLICKCREATECALLBACK_H_
|
||||
|
||||
#include "max.h"
|
||||
|
||||
#include "PFExport.h"
|
||||
|
||||
class OneClickCreateCallBack : public CreateMouseCallBack {
|
||||
public:
|
||||
|
||||
/** @defgroup OneClickCreateCallBack OneClickCreateCallBack.h
|
||||
* @{
|
||||
*/
|
||||
|
||||
/*! \fn PFExport static OneClickCreateCallBack* Instance();
|
||||
* \brief
|
||||
*/
|
||||
PFExport static OneClickCreateCallBack* Instance();
|
||||
|
||||
/*! \fn PFExport static void DeleteThis();
|
||||
* \brief
|
||||
*/
|
||||
PFExport static void DeleteThis();
|
||||
|
||||
/*! \fn PFExport int proc( ViewExp *vpt,int msg, int point, int flags, IPoint2 m, Matrix3& mat);
|
||||
* \brief
|
||||
*/
|
||||
PFExport int proc( ViewExp *vpt,int msg, int point, int flags, IPoint2 m, Matrix3& mat);
|
||||
|
||||
/*@}*/
|
||||
|
||||
protected:
|
||||
OneClickCreateCallBack();
|
||||
static const OneClickCreateCallBack* instance() { return m_instance; }
|
||||
static OneClickCreateCallBack*& _instance() { return m_instance; }
|
||||
|
||||
private:
|
||||
static OneClickCreateCallBack* m_instance;
|
||||
};
|
||||
|
||||
#endif // _ONECLICKCREATECALLBACK_H_
|
||||
Reference in New Issue
Block a user