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_SUBDMODIFIER_H__
11
#define __MayaDM_SUBDMODIFIER_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMSubdBase.h"
17
class SubdModifier : public SubdBase
22
SubdModifier():SubdBase(){}
23
SubdModifier(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
24
:SubdBase(file, name, parent, "subdModifier", shared, create){}
25
virtual ~SubdModifier(){}
27
void setInputComponents(const componentList& ics)
29
fprintf(mFile,"\tsetAttr \".ics\" -type \"componentList\" ");
33
void getInSubdiv()const
35
fprintf(mFile,"\"%s.is\"",mName.c_str());
37
void getCachedSubdiv()const
39
fprintf(mFile,"\"%s.ic\"",mName.c_str());
41
void getInputComponents()const
43
fprintf(mFile,"\"%s.ics\"",mName.c_str());
46
SubdModifier(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
47
:SubdBase(file, name, parent, nodeType, shared, create) {}
51
#endif//__MayaDM_SUBDMODIFIER_H__