<vtkobject>vtkSphereSource</vtkobject>
<output name="Out" type="vtkPolyData*" description="Output Sphere" special="vtk output"/>
+<input name="Active" type="bool" description="Active True/False (default True)"/>
<input name="CenterX" type="double" description="Center X coord"/>
<input name="CenterY" type="double" description="Center Y coord"/>
<input name="CenterZ" type="double" description="Center Z coord"/>
<process>
<PRE>
+if (bbGetInputActive()==true)
+{
-bbGetVtkObject()->SetCenter(bbGetInputCenterX(),
- bbGetInputCenterY(),
- bbGetInputCenterZ());
-//bbGetVtkObject()->SetPhiResolution(bbGetInputPhiResolution());
-//bbGetVtkObject()->SetThetaResolution(bbGetInputThetaResolution());
-//bbGetVtkObject()->SetRadius(bbGetInputRadius());
-//printf("EED box vtk:SphereSource theta=%d phi=%d\n", bbGetInputThetaResolution() , bbGetInputPhiResolution());
+ bbGetVtkObject()->SetCenter(bbGetInputCenterX(), bbGetInputCenterY(), bbGetInputCenterZ());
+ //bbGetVtkObject()->SetPhiResolution(bbGetInputPhiResolution());
+ //bbGetVtkObject()->SetThetaResolution(bbGetInputThetaResolution());
+ //bbGetVtkObject()->SetRadius(bbGetInputRadius());
+ //printf("EED box vtk:SphereSource theta=%d phi=%d\n", bbGetInputThetaResolution() , bbGetInputPhiResolution());
+ bbGetVtkObject()->Update();
+}
-bbGetVtkObject()->Update();
</PRE>
</process>
+<defaultValues><PRE>
+ bbSetInputActive(true);
+</PRE></defaultValues>
+
</blackbox>