<input name="Filename" type="std::string" nature="file name" description="Name of the file to write"/>
<input name="In" type="vtkPolyData*" description="Input mesh" />
+<input name="FileType" type="int" description="0=Ascii (default), 1=Binary" />
<process><PRE>
printf("EED PolyDataWriter::Process() %s\n", bbGetInputFilename().c_str());
vtkPolyDataWriter* w = vtkPolyDataWriter::New();
+ if (bbGetInputFileType()==0)
+ {
+ w->SetFileTypeToASCII();
+ } else {
+ w->SetFileTypeToBinary();
+ }
bbGetInputIn()->Update();
w->SetInput(bbGetInputIn());
w->SetFileName(bbGetInputFilename().c_str());
w->Write();
w->Delete();
</PRE></process>
+
+ <!--========================================================================
+ CONSTRUCTORS / DESTRUCTORS (OPTIONAL) -->
+ <defaultValues><PRE>
+ bbSetInputFileType(0);
+ </PRE></defaultValues>
+
+ <initializeProcessing><PRE>
+ </PRE></initializeProcessing>
+
+ <finalizeProcessing><PRE>
+ </PRE></finalizeProcessing>
+ <!--=====================================================================-->
+
+
</blackbox>
wxWindow* cw;
if ((cw=bbCreateWidgetOfInput("Widget1",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
- if ((cw=bbCreateWidgetOfInput("Widget2",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
- if ((cw=bbCreateWidgetOfInput("Widget3",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
- if ((cw=bbCreateWidgetOfInput("Widget4",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
- if ((cw=bbCreateWidgetOfInput("Widget5",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
- if ((cw=bbCreateWidgetOfInput("Widget6",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
- if ((cw=bbCreateWidgetOfInput("Widget7",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
- if ((cw=bbCreateWidgetOfInput("Widget8",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
- if ((cw=bbCreateWidgetOfInput("Widget9",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
+ if ((cw=bbCreateWidgetOfInput("Widget2",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
+ if ((cw=bbCreateWidgetOfInput("Widget3",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
+ if ((cw=bbCreateWidgetOfInput("Widget4",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
+ if ((cw=bbCreateWidgetOfInput("Widget5",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
+ if ((cw=bbCreateWidgetOfInput("Widget6",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
+ if ((cw=bbCreateWidgetOfInput("Widget7",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
+ if ((cw=bbCreateWidgetOfInput("Widget8",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
+ if ((cw=bbCreateWidgetOfInput("Widget9",w)) != 0) sizer->Add(cw, 1, wxEXPAND, 0);
/*
TryInsertWindow(w,bbGetInputWidget1(),sizer);
TryInsertWindow(w,bbGetInputWidget2(),sizer);