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_POLEVECTORCONSTRAINT_H__
11
#define __MayaDM_POLEVECTORCONSTRAINT_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMPointConstraint.h"
17
class PoleVectorConstraint : public PointConstraint
22
PoleVectorConstraint():PointConstraint(){}
23
PoleVectorConstraint(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
24
:PointConstraint(file, name, parent, "poleVectorConstraint", shared, create){}
25
virtual ~PoleVectorConstraint(){}
27
void setPivotSpace(const matrix& ps)
29
if(ps == identity) return;
30
fprintf(mFile,"\tsetAttr \".ps\" -type \"matrix\" ");
34
void getPivotSpace()const
36
fprintf(mFile,"\"%s.ps\"",mName.c_str());
39
PoleVectorConstraint(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
40
:PointConstraint(file, name, parent, nodeType, shared, create) {}
44
#endif//__MayaDM_POLEVECTORCONSTRAINT_H__