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_IKEFFECTOR_H__
11
#define __MayaDM_IKEFFECTOR_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMTransform.h"
17
class IkEffector : public Transform
22
IkEffector():Transform(){}
23
IkEffector(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
24
:Transform(file, name, parent, "ikEffector", shared, create){}
25
virtual ~IkEffector(){}
27
void setHideDisplay(bool hd)
29
if(hd == false) return;
30
fprintf(mFile,"\tsetAttr \".hd\" %i;\n", hd);
32
void getHideDisplay()const
34
fprintf(mFile,"\"%s.hd\"",mName.c_str());
36
void getHandlePath(size_t hp_i)const
38
fprintf(mFile,"\"%s.hp[%i]\"",mName.c_str(),hp_i);
40
void getHandlePath()const
43
fprintf(mFile,"\"%s.hp\"",mName.c_str());
46
IkEffector(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
47
:Transform(file, name, parent, nodeType, shared, create) {}
51
#endif//__MayaDM_IKEFFECTOR_H__