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_PFXTOON_H__
11
#define __MayaDM_PFXTOON_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMPfxGeometry.h"
17
class PfxToon : public PfxGeometry
21
void write(FILE* file) const
25
struct CurvatureWidth{
26
float curvatureWidth_Position;
27
float curvatureWidth_FloatValue;
28
unsigned int curvatureWidth_Interp;
29
void write(FILE* file) const
31
fprintf(file,"%f ", curvatureWidth_Position);
32
fprintf(file,"%f ", curvatureWidth_FloatValue);
33
fprintf(file,"%i", curvatureWidth_Interp);
38
PfxToon():PfxGeometry(){}
39
PfxToon(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
40
:PfxGeometry(file, name, parent, "pfxToon", shared, create){}
43
void setDisplayInViewport(bool div)
45
if(div == true) return;
46
fprintf(mFile,"\tsetAttr \".div\" %i;\n", div);
48
void setProfileLines(unsigned int pln)
51
fprintf(mFile,"\tsetAttr \".pln\" %i;\n", pln);
53
void setCreaseLines(bool cln)
55
if(cln == true) return;
56
fprintf(mFile,"\tsetAttr \".cln\" %i;\n", cln);
58
void setBorderLines(unsigned int bln)
61
fprintf(mFile,"\tsetAttr \".bln\" %i;\n", bln);
63
void setIntersectionLines(bool iln)
65
if(iln == false) return;
66
fprintf(mFile,"\tsetAttr \".iln\" %i;\n", iln);
68
void setSelfIntersect(bool sei)
70
if(sei == false) return;
71
fprintf(mFile,"\tsetAttr \".sei\" %i;\n", sei);
73
void setLineWidth(double lwd)
75
if(lwd == 0.1) return;
76
fprintf(mFile,"\tsetAttr \".lwd\" %f;\n", lwd);
78
void setLineWidthMap(double lwm)
80
if(lwm == 0.5) return;
81
fprintf(mFile,"\tsetAttr \".lwm\" %f;\n", lwm);
83
void setLineOpacity(double lop)
85
if(lop == 1.0) return;
86
fprintf(mFile,"\tsetAttr \".lop\" %f;\n", lop);
88
void setLineOpacityMap(double lpm)
90
if(lpm == 1.0) return;
91
fprintf(mFile,"\tsetAttr \".lpm\" %f;\n", lpm);
93
void setLocalOcclusion(unsigned int lcl)
96
fprintf(mFile,"\tsetAttr \".lcl\" %i;\n", lcl);
98
void setOcclusionTolerance(double otl)
100
if(otl == 0.01) return;
101
fprintf(mFile,"\tsetAttr \".otl\" %f;\n", otl);
103
void setDepthBias(double dbs)
105
if(dbs == 0.0) return;
106
fprintf(mFile,"\tsetAttr \".dbs\" %f;\n", dbs);
108
void setProfileLineWidth(double plw)
110
if(plw == 1.0) return;
111
fprintf(mFile,"\tsetAttr \".plw\" %f;\n", plw);
113
void setCreaseLineWidth(double clw)
115
if(clw == 1.0) return;
116
fprintf(mFile,"\tsetAttr \".clw\" %f;\n", clw);
118
void setBorderLineWidth(double blw)
120
if(blw == 1.0) return;
121
fprintf(mFile,"\tsetAttr \".blw\" %f;\n", blw);
123
void setIntersectionLineWidth(double ilw)
125
if(ilw == 1.0) return;
126
fprintf(mFile,"\tsetAttr \".ilw\" %f;\n", ilw);
128
void setLineOffset(double lof)
130
if(lof == 0.0) return;
131
fprintf(mFile,"\tsetAttr \".lof\" %f;\n", lof);
133
void setLineOffsetMap(double lom)
135
if(lom == 0.0) return;
136
fprintf(mFile,"\tsetAttr \".lom\" %f;\n", lom);
138
void setLightingBasedWidth(double lbw)
140
if(lbw == 0.0) return;
141
fprintf(mFile,"\tsetAttr \".lbw\" %f;\n", lbw);
143
void setOcclusionWidthScale(bool ows)
145
if(ows == true) return;
146
fprintf(mFile,"\tsetAttr \".ows\" %i;\n", ows);
148
void setDepthOffset(double dff)
150
if(dff == 0.0) return;
151
fprintf(mFile,"\tsetAttr \".dff\" %f;\n", dff);
153
void setCreaseAngleMin(double amn)
155
if(amn == 20.0) return;
156
fprintf(mFile,"\tsetAttr \".amn\" %f;\n", amn);
158
void setCreaseAngleMax(double amx)
160
if(amx == 90.0) return;
161
fprintf(mFile,"\tsetAttr \".amx\" %f;\n", amx);
163
void setHardCreasesOnly(bool hco)
165
if(hco == true) return;
166
fprintf(mFile,"\tsetAttr \".hco\" %i;\n", hco);
168
void setBackfacingCreases(bool bfc)
170
if(bfc == true) return;
171
fprintf(mFile,"\tsetAttr \".bfc\" %i;\n", bfc);
173
void setIntersectionAngleMin(double imn)
175
if(imn == 1.0) return;
176
fprintf(mFile,"\tsetAttr \".imn\" %f;\n", imn);
178
void setIntersectionAngleMax(double imx)
180
if(imx == 1.0) return;
181
fprintf(mFile,"\tsetAttr \".imx\" %f;\n", imx);
183
void setSmoothProfile(bool spf)
185
if(spf == true) return;
186
fprintf(mFile,"\tsetAttr \".spf\" %i;\n", spf);
188
void setTighterProfile(bool tpf)
190
if(tpf == false) return;
191
fprintf(mFile,"\tsetAttr \".tpf\" %i;\n", tpf);
193
void setCurvatureModulation(bool cmo)
195
if(cmo == false) return;
196
fprintf(mFile,"\tsetAttr \".cmo\" %i;\n", cmo);
198
void setCurvatureWidth(size_t cwd_i,const CurvatureWidth& cwd)
200
fprintf(mFile,"\tsetAttr \".cwd[%i]\" ",cwd_i);
202
fprintf(mFile,";\n");
204
void setCurvatureWidth(size_t cwd_start,size_t cwd_end,CurvatureWidth* cwd)
206
fprintf(mFile,"\tsetAttr \".cwd[%i:%i]\" ", cwd_start,cwd_end);
207
size_t size = (cwd_end-cwd_start)*1+1;
208
for(size_t i=0;i<size;++i)
213
fprintf(mFile,";\n");
215
void startCurvatureWidth(size_t cwd_start,size_t cwd_end)const
217
fprintf(mFile,"\tsetAttr \".cwd[%i:%i]\"",cwd_start,cwd_end);
218
fprintf(mFile," -type \"CurvatureWidth\" ");
220
void appendCurvatureWidth(const CurvatureWidth& cwd)const
225
void endCurvatureWidth()const
227
fprintf(mFile,";\n");
229
void setCurvatureWidth_Position(size_t cwd_i,float cwdp)
231
if(cwdp == 0.0) return;
232
fprintf(mFile,"\tsetAttr \".cwd[%i].cwdp\" %f;\n", cwd_i,cwdp);
234
void setCurvatureWidth_FloatValue(size_t cwd_i,float cwdfv)
236
if(cwdfv == 0.0) return;
237
fprintf(mFile,"\tsetAttr \".cwd[%i].cwdfv\" %f;\n", cwd_i,cwdfv);
239
void setCurvatureWidth_Interp(size_t cwd_i,unsigned int cwdi)
241
if(cwdi == 0) return;
242
fprintf(mFile,"\tsetAttr \".cwd[%i].cwdi\" %i;\n", cwd_i,cwdi);
244
void setProfileWidthModulation(double pwm)
246
if(pwm == 0.0) return;
247
fprintf(mFile,"\tsetAttr \".pwm\" %f;\n", pwm);
249
void setCreaseWidthModulation(double cwm)
251
if(cwm == 0.0) return;
252
fprintf(mFile,"\tsetAttr \".cwm\" %f;\n", cwm);
254
void setBorderWidthModulation(double bwm)
256
if(bwm == 0.5) return;
257
fprintf(mFile,"\tsetAttr \".bwm\" %f;\n", bwm);
259
void setIntersectionWidthModulation(double imd)
261
if(imd == 0.0) return;
262
fprintf(mFile,"\tsetAttr \".imd\" %f;\n", imd);
264
void setProfileBreakAngle(double pba)
266
if(pba == 180.0) return;
267
fprintf(mFile,"\tsetAttr \".pba\" %f;\n", pba);
269
void setCreaseBreakAngle(double cba)
271
if(cba == 80) return;
272
fprintf(mFile,"\tsetAttr \".cba\" %f;\n", cba);
274
void setBorderBreakAngle(double bba)
276
if(bba == 80.0) return;
277
fprintf(mFile,"\tsetAttr \".bba\" %f;\n", bba);
279
void setIntersectionBreakAngle(double iba)
281
if(iba == 180.0) return;
282
fprintf(mFile,"\tsetAttr \".iba\" %f;\n", iba);
284
void setRemoveFlushBorders(bool rfb)
286
if(rfb == false) return;
287
fprintf(mFile,"\tsetAttr \".rfb\" %i;\n", rfb);
289
void setFlushTolerance(double tfl)
291
if(tfl == 0.01) return;
292
fprintf(mFile,"\tsetAttr \".tfl\" %f;\n", tfl);
294
void setFlushAngleMax(double fmx)
296
if(fmx == 4.0) return;
297
fprintf(mFile,"\tsetAttr \".fmx\" %f;\n", fmx);
299
void setLineEndThinning(double let)
301
if(let == 0.0) return;
302
fprintf(mFile,"\tsetAttr \".let\" %f;\n", let);
304
void setLineExtend(double lex)
306
if(lex == 0.0) return;
307
fprintf(mFile,"\tsetAttr \".lex\" %f;\n", lex);
309
void setResampleProfile(bool rpf)
311
if(rpf == false) return;
312
fprintf(mFile,"\tsetAttr \".rpf\" %i;\n", rpf);
314
void setResampleCrease(bool rcr)
316
if(rcr == false) return;
317
fprintf(mFile,"\tsetAttr \".rcr\" %i;\n", rcr);
319
void setResampleBorder(bool rbd)
321
if(rbd == false) return;
322
fprintf(mFile,"\tsetAttr \".rbd\" %i;\n", rbd);
324
void setResampleIntersection(bool rin)
326
if(rin == false) return;
327
fprintf(mFile,"\tsetAttr \".rin\" %i;\n", rin);
329
void setMaxSegmentLength(double msl)
331
if(msl == 0.5) return;
332
fprintf(mFile,"\tsetAttr \".msl\" %f;\n", msl);
334
void setMinSegmentLength(double mns)
336
if(mns == 0.0) return;
337
fprintf(mFile,"\tsetAttr \".mns\" %f;\n", mns);
339
void setScreenSpaceResampling(double ssr)
341
if(ssr == 0.0) return;
342
fprintf(mFile,"\tsetAttr \".ssr\" %f;\n", ssr);
344
void setPfxRandomize(bool prz)
346
if(prz == false) return;
347
fprintf(mFile,"\tsetAttr \".prz\" %i;\n", prz);
349
void setScreenspaceWidth(bool spw)
351
if(spw == false) return;
352
fprintf(mFile,"\tsetAttr \".spw\" %i;\n", spw);
354
void setDistanceScaling(double dsl)
356
if(dsl == 0.0) return;
357
fprintf(mFile,"\tsetAttr \".dsl\" %f;\n", dsl);
359
void setMinPixelWidth(double mpw)
361
if(mpw == 0.0) return;
362
fprintf(mFile,"\tsetAttr \".mpw\" %f;\n", mpw);
364
void setMaxPixelWidth(double mxp)
366
if(mxp == 1000.0) return;
367
fprintf(mFile,"\tsetAttr \".mxp\" %f;\n", mxp);
369
void setProfileColor(const float3& pcl)
371
fprintf(mFile,"\tsetAttr \".pcl\" -type \"float3\" ");
373
fprintf(mFile,";\n");
375
void setProfileColorR(float pcr)
377
if(pcr == 0.0) return;
378
fprintf(mFile,"\tsetAttr \".pcl.pcr\" %f;\n", pcr);
380
void setProfileColorG(float pcg)
382
if(pcg == 0.0) return;
383
fprintf(mFile,"\tsetAttr \".pcl.pcg\" %f;\n", pcg);
385
void setProfileColorB(float pcb)
387
if(pcb == 0.0) return;
388
fprintf(mFile,"\tsetAttr \".pcl.pcb\" %f;\n", pcb);
390
void setCreaseColor(const float3& ccl)
392
fprintf(mFile,"\tsetAttr \".ccl\" -type \"float3\" ");
394
fprintf(mFile,";\n");
396
void setCreaseColorR(float ccr)
398
if(ccr == 0.0) return;
399
fprintf(mFile,"\tsetAttr \".ccl.ccr\" %f;\n", ccr);
401
void setCreaseColorG(float ccg)
403
if(ccg == 0.0) return;
404
fprintf(mFile,"\tsetAttr \".ccl.ccg\" %f;\n", ccg);
406
void setCreaseColorB(float ccb)
408
if(ccb == 0.0) return;
409
fprintf(mFile,"\tsetAttr \".ccl.ccb\" %f;\n", ccb);
411
void setBorderColor(const float3& bcl)
413
fprintf(mFile,"\tsetAttr \".bcl\" -type \"float3\" ");
415
fprintf(mFile,";\n");
417
void setBorderColorR(float bcr)
419
if(bcr == 0.0) return;
420
fprintf(mFile,"\tsetAttr \".bcl.bcr\" %f;\n", bcr);
422
void setBorderColorG(float bcg)
424
if(bcg == 0.0) return;
425
fprintf(mFile,"\tsetAttr \".bcl.bcg\" %f;\n", bcg);
427
void setBorderColorB(float bcb)
429
if(bcb == 0.0) return;
430
fprintf(mFile,"\tsetAttr \".bcl.bcb\" %f;\n", bcb);
432
void setIntersectionColor(const float3& icl)
434
fprintf(mFile,"\tsetAttr \".icl\" -type \"float3\" ");
436
fprintf(mFile,";\n");
438
void setIntersectionColorR(float icr)
440
if(icr == 0.0) return;
441
fprintf(mFile,"\tsetAttr \".icl.icr\" %f;\n", icr);
443
void setIntersectionColorG(float icg)
445
if(icg == 0.0) return;
446
fprintf(mFile,"\tsetAttr \".icl.icg\" %f;\n", icg);
448
void setIntersectionColorB(float icb)
450
if(icb == 0.0) return;
451
fprintf(mFile,"\tsetAttr \".icl.icb\" %f;\n", icb);
453
void getInputSurface(size_t ins_i)const
455
fprintf(mFile,"\"%s.ins[%i]\"",mName.c_str(),ins_i);
457
void getInputSurface()const
460
fprintf(mFile,"\"%s.ins\"",mName.c_str());
462
void getSurface(size_t ins_i)const
464
fprintf(mFile,"\"%s.ins[%i].srf\"",mName.c_str(),ins_i);
466
void getSurface()const
469
fprintf(mFile,"\"%s.ins.srf\"",mName.c_str());
471
void getInputWorldMatrix(size_t ins_i)const
473
fprintf(mFile,"\"%s.ins[%i].iwm\"",mName.c_str(),ins_i);
475
void getInputWorldMatrix()const
478
fprintf(mFile,"\"%s.ins.iwm\"",mName.c_str());
480
void getDisplayInViewport()const
482
fprintf(mFile,"\"%s.div\"",mName.c_str());
484
void getProfileLines()const
486
fprintf(mFile,"\"%s.pln\"",mName.c_str());
488
void getCreaseLines()const
490
fprintf(mFile,"\"%s.cln\"",mName.c_str());
492
void getBorderLines()const
494
fprintf(mFile,"\"%s.bln\"",mName.c_str());
496
void getIntersectionLines()const
498
fprintf(mFile,"\"%s.iln\"",mName.c_str());
500
void getSelfIntersect()const
502
fprintf(mFile,"\"%s.sei\"",mName.c_str());
504
void getLineWidth()const
506
fprintf(mFile,"\"%s.lwd\"",mName.c_str());
508
void getLineWidthMap()const
510
fprintf(mFile,"\"%s.lwm\"",mName.c_str());
512
void getLineOpacity()const
514
fprintf(mFile,"\"%s.lop\"",mName.c_str());
516
void getLineOpacityMap()const
518
fprintf(mFile,"\"%s.lpm\"",mName.c_str());
520
void getLocalOcclusion()const
522
fprintf(mFile,"\"%s.lcl\"",mName.c_str());
524
void getOcclusionTolerance()const
526
fprintf(mFile,"\"%s.otl\"",mName.c_str());
528
void getDepthBias()const
530
fprintf(mFile,"\"%s.dbs\"",mName.c_str());
532
void getProfileLineWidth()const
534
fprintf(mFile,"\"%s.plw\"",mName.c_str());
536
void getCreaseLineWidth()const
538
fprintf(mFile,"\"%s.clw\"",mName.c_str());
540
void getBorderLineWidth()const
542
fprintf(mFile,"\"%s.blw\"",mName.c_str());
544
void getIntersectionLineWidth()const
546
fprintf(mFile,"\"%s.ilw\"",mName.c_str());
548
void getLineOffset()const
550
fprintf(mFile,"\"%s.lof\"",mName.c_str());
552
void getLineOffsetMap()const
554
fprintf(mFile,"\"%s.lom\"",mName.c_str());
556
void getLightingBasedWidth()const
558
fprintf(mFile,"\"%s.lbw\"",mName.c_str());
560
void getOcclusionWidthScale()const
562
fprintf(mFile,"\"%s.ows\"",mName.c_str());
564
void getDepthOffset()const
566
fprintf(mFile,"\"%s.dff\"",mName.c_str());
568
void getCreaseAngleMin()const
570
fprintf(mFile,"\"%s.amn\"",mName.c_str());
572
void getCreaseAngleMax()const
574
fprintf(mFile,"\"%s.amx\"",mName.c_str());
576
void getHardCreasesOnly()const
578
fprintf(mFile,"\"%s.hco\"",mName.c_str());
580
void getBackfacingCreases()const
582
fprintf(mFile,"\"%s.bfc\"",mName.c_str());
584
void getIntersectionAngleMin()const
586
fprintf(mFile,"\"%s.imn\"",mName.c_str());
588
void getIntersectionAngleMax()const
590
fprintf(mFile,"\"%s.imx\"",mName.c_str());
592
void getSmoothProfile()const
594
fprintf(mFile,"\"%s.spf\"",mName.c_str());
596
void getTighterProfile()const
598
fprintf(mFile,"\"%s.tpf\"",mName.c_str());
600
void getCurvatureModulation()const
602
fprintf(mFile,"\"%s.cmo\"",mName.c_str());
604
void getCurvatureWidth(size_t cwd_i)const
606
fprintf(mFile,"\"%s.cwd[%i]\"",mName.c_str(),cwd_i);
608
void getCurvatureWidth()const
611
fprintf(mFile,"\"%s.cwd\"",mName.c_str());
613
void getCurvatureWidth_Position(size_t cwd_i)const
615
fprintf(mFile,"\"%s.cwd[%i].cwdp\"",mName.c_str(),cwd_i);
617
void getCurvatureWidth_Position()const
620
fprintf(mFile,"\"%s.cwd.cwdp\"",mName.c_str());
622
void getCurvatureWidth_FloatValue(size_t cwd_i)const
624
fprintf(mFile,"\"%s.cwd[%i].cwdfv\"",mName.c_str(),cwd_i);
626
void getCurvatureWidth_FloatValue()const
629
fprintf(mFile,"\"%s.cwd.cwdfv\"",mName.c_str());
631
void getCurvatureWidth_Interp(size_t cwd_i)const
633
fprintf(mFile,"\"%s.cwd[%i].cwdi\"",mName.c_str(),cwd_i);
635
void getCurvatureWidth_Interp()const
638
fprintf(mFile,"\"%s.cwd.cwdi\"",mName.c_str());
640
void getProfileWidthModulation()const
642
fprintf(mFile,"\"%s.pwm\"",mName.c_str());
644
void getCreaseWidthModulation()const
646
fprintf(mFile,"\"%s.cwm\"",mName.c_str());
648
void getBorderWidthModulation()const
650
fprintf(mFile,"\"%s.bwm\"",mName.c_str());
652
void getIntersectionWidthModulation()const
654
fprintf(mFile,"\"%s.imd\"",mName.c_str());
656
void getProfileBreakAngle()const
658
fprintf(mFile,"\"%s.pba\"",mName.c_str());
660
void getCreaseBreakAngle()const
662
fprintf(mFile,"\"%s.cba\"",mName.c_str());
664
void getBorderBreakAngle()const
666
fprintf(mFile,"\"%s.bba\"",mName.c_str());
668
void getIntersectionBreakAngle()const
670
fprintf(mFile,"\"%s.iba\"",mName.c_str());
672
void getRemoveFlushBorders()const
674
fprintf(mFile,"\"%s.rfb\"",mName.c_str());
676
void getFlushTolerance()const
678
fprintf(mFile,"\"%s.tfl\"",mName.c_str());
680
void getFlushAngleMax()const
682
fprintf(mFile,"\"%s.fmx\"",mName.c_str());
684
void getLineEndThinning()const
686
fprintf(mFile,"\"%s.let\"",mName.c_str());
688
void getLineExtend()const
690
fprintf(mFile,"\"%s.lex\"",mName.c_str());
692
void getResampleProfile()const
694
fprintf(mFile,"\"%s.rpf\"",mName.c_str());
696
void getResampleCrease()const
698
fprintf(mFile,"\"%s.rcr\"",mName.c_str());
700
void getResampleBorder()const
702
fprintf(mFile,"\"%s.rbd\"",mName.c_str());
704
void getResampleIntersection()const
706
fprintf(mFile,"\"%s.rin\"",mName.c_str());
708
void getMaxSegmentLength()const
710
fprintf(mFile,"\"%s.msl\"",mName.c_str());
712
void getMinSegmentLength()const
714
fprintf(mFile,"\"%s.mns\"",mName.c_str());
716
void getScreenSpaceResampling()const
718
fprintf(mFile,"\"%s.ssr\"",mName.c_str());
720
void getPfxRandomize()const
722
fprintf(mFile,"\"%s.prz\"",mName.c_str());
724
void getScreenspaceWidth()const
726
fprintf(mFile,"\"%s.spw\"",mName.c_str());
728
void getDistanceScaling()const
730
fprintf(mFile,"\"%s.dsl\"",mName.c_str());
732
void getMinPixelWidth()const
734
fprintf(mFile,"\"%s.mpw\"",mName.c_str());
736
void getMaxPixelWidth()const
738
fprintf(mFile,"\"%s.mxp\"",mName.c_str());
740
void getProfileColor()const
742
fprintf(mFile,"\"%s.pcl\"",mName.c_str());
744
void getProfileColorR()const
746
fprintf(mFile,"\"%s.pcl.pcr\"",mName.c_str());
748
void getProfileColorG()const
750
fprintf(mFile,"\"%s.pcl.pcg\"",mName.c_str());
752
void getProfileColorB()const
754
fprintf(mFile,"\"%s.pcl.pcb\"",mName.c_str());
756
void getCreaseColor()const
758
fprintf(mFile,"\"%s.ccl\"",mName.c_str());
760
void getCreaseColorR()const
762
fprintf(mFile,"\"%s.ccl.ccr\"",mName.c_str());
764
void getCreaseColorG()const
766
fprintf(mFile,"\"%s.ccl.ccg\"",mName.c_str());
768
void getCreaseColorB()const
770
fprintf(mFile,"\"%s.ccl.ccb\"",mName.c_str());
772
void getBorderColor()const
774
fprintf(mFile,"\"%s.bcl\"",mName.c_str());
776
void getBorderColorR()const
778
fprintf(mFile,"\"%s.bcl.bcr\"",mName.c_str());
780
void getBorderColorG()const
782
fprintf(mFile,"\"%s.bcl.bcg\"",mName.c_str());
784
void getBorderColorB()const
786
fprintf(mFile,"\"%s.bcl.bcb\"",mName.c_str());
788
void getIntersectionColor()const
790
fprintf(mFile,"\"%s.icl\"",mName.c_str());
792
void getIntersectionColorR()const
794
fprintf(mFile,"\"%s.icl.icr\"",mName.c_str());
796
void getIntersectionColorG()const
798
fprintf(mFile,"\"%s.icl.icg\"",mName.c_str());
800
void getIntersectionColorB()const
802
fprintf(mFile,"\"%s.icl.icb\"",mName.c_str());
804
void getOutColor()const
806
fprintf(mFile,"\"%s.ocl\"",mName.c_str());
808
void getOutColorR()const
810
fprintf(mFile,"\"%s.ocl.ocr\"",mName.c_str());
812
void getOutColorG()const
814
fprintf(mFile,"\"%s.ocl.ocg\"",mName.c_str());
816
void getOutColorB()const
818
fprintf(mFile,"\"%s.ocl.ocb\"",mName.c_str());
820
void getOutProfileMesh(size_t opm_i)const
822
fprintf(mFile,"\"%s.opm[%i]\"",mName.c_str(),opm_i);
824
void getOutProfileMesh()const
827
fprintf(mFile,"\"%s.opm\"",mName.c_str());
830
PfxToon(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
831
:PfxGeometry(file, name, parent, nodeType, shared, create) {}
835
#endif//__MayaDM_PFXTOON_H__