sceneAssembly/assemblyDefinition.h
#ifndef _assemblyDefinition_h_
#define _assemblyDefinition_h_
#include <maya/MPxAssembly.h>
#include <memory>
class AdskRepresentationFactory;
{
public:
typedef std::auto_ptr<MPxRepresentation> RepresentationPtr;
static void* creator();
static bool registerRepresentationFactory(AdskRepresentationFactory* f);
static bool deregisterRepresentationFactory(
const MString& type);
AssemblyDefinition();
~AssemblyDefinition() override;
) override;
) override;
) override;
) override;
void setRepData(
);
protected:
enum eStorable {kNotStorable = 0, kStorable};
static MStatus initRepresentations(
eStorable storable,
);
void performCreateRepresentation(
);
virtual MString getDefaultIcon()
const;
void clearRepresentationList();
private:
AssemblyDefinition(const AssemblyDefinition& obj);
const AssemblyDefinition& operator=(const AssemblyDefinition& obj);
) const;
);
RepresentationPtr fActiveRep;
};
#endif