2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of MayaDataModel.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
10
#ifndef __MayaDM_DELETECOLORSET_H__
11
#define __MayaDM_DELETECOLORSET_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMDependNode.h"
17
class DeleteColorSet : public DependNode
22
DeleteColorSet():DependNode(){}
23
DeleteColorSet(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
24
:DependNode(file, name, parent, "deleteColorSet", shared, create){}
25
virtual ~DeleteColorSet(){}
27
void setColorSetName(const string& cols)
29
if(cols == "NULL") return;
30
fprintf(mFile,"\tsetAttr \".cols\" -type \"string\" ");
34
void getInputGeometry()const
36
fprintf(mFile,"\"%s.ig\"",mName.c_str());
38
void getOutputGeometry()const
40
fprintf(mFile,"\"%s.og\"",mName.c_str());
42
void getColorSetName()const
44
fprintf(mFile,"\"%s.cols\"",mName.c_str());
47
DeleteColorSet(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
48
:DependNode(file, name, parent, nodeType, shared, create) {}
52
#endif//__MayaDM_DELETECOLORSET_H__