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_NONLINEAR_H__
11
#define __MayaDM_NONLINEAR_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMGeometryFilter.h"
17
class NonLinear : public GeometryFilter
22
NonLinear():GeometryFilter(){}
23
NonLinear(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
24
:GeometryFilter(file, name, parent, "nonLinear", shared, create){}
25
virtual ~NonLinear(){}
27
void setMatrix(const matrix& ma)
29
if(ma == identity) return;
30
fprintf(mFile,"\tsetAttr \".ma\" -type \"matrix\" ");
34
void getDeformerData()const
36
fprintf(mFile,"\"%s.dd\"",mName.c_str());
40
fprintf(mFile,"\"%s.ma\"",mName.c_str());
43
NonLinear(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
44
:GeometryFilter(file, name, parent, nodeType, shared, create) {}
48
#endif//__MayaDM_NONLINEAR_H__