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_STITCHASNURBSSHELL_H__
11
#define __MayaDM_STITCHASNURBSSHELL_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMAbstractBaseCreate.h"
17
class StitchAsNurbsShell : public AbstractBaseCreate
22
StitchAsNurbsShell():AbstractBaseCreate(){}
23
StitchAsNurbsShell(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
24
:AbstractBaseCreate(file, name, parent, "stitchAsNurbsShell", shared, create){}
25
virtual ~StitchAsNurbsShell(){}
27
void setTolerance(double tol)
30
fprintf(mFile,"\tsetAttr \".tol\" %f;\n", tol);
32
void getInputSurface(size_t is_i)const
34
fprintf(mFile,"\"%s.is[%i]\"",mName.c_str(),is_i);
36
void getInputSurface()const
39
fprintf(mFile,"\"%s.is\"",mName.c_str());
41
void getTolerance()const
43
fprintf(mFile,"\"%s.tol\"",mName.c_str());
45
void getOutputShell()const
47
fprintf(mFile,"\"%s.osh\"",mName.c_str());
50
StitchAsNurbsShell(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
51
:AbstractBaseCreate(file, name, parent, nodeType, shared, create) {}
55
#endif//__MayaDM_STITCHASNURBSSHELL_H__