<category>mesh</category>
<include>vtkConeSource.h</include>
-<vtkparent>vtkConeSource</vtkparent>
+<vtkobject>vtkConeSource</vtkobject>
<output name="Out" type="vtkPolyData*" special="vtk output" description="Output Cone"/>
-<input name="Radius" type="double" special="vtk parameter" description="Cone Radius"/>
-<input name="Resolution" type="int" special="vtk parameter" description="Cone Resolution"/>
-<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"/>
-<input name="DirectionX" type="double" description="X Direction"/>
-<input name="DirectionY" type="double" description="Y Direction"/>
-<input name="DirectionZ" type="double" description="Z Direction"/>
+<input name="Radius" type="double" special="vtk parameter" description="Cone Radius (default 1)"/>
+<input name="Height" type="double" special="vtk parameter" description="Cone height (default 1)"/>
+<input name="Resolution" type="int" special="vtk parameter" description="Cone Resolution (default 10)"/>
+<input name="CenterX" type="double" description="Center X coord (default 0)"/>
+<input name="CenterY" type="double" description="Center Y coord (default 0)"/>
+<input name="CenterZ" type="double" description="Center Z coord (default 0)"/>
+<input name="DirectionX" type="double" description="X Direction (default 0)"/>
+<input name="DirectionY" type="double" description="Y Direction (default 0)"/>
+<input name="DirectionZ" type="double" description="Z Direction (default 1)"/>
<process>
<PRE>
-mVtkObject->SetCenter(bbGetInputCenterX(),
- bbGetInputCenterY(),
- bbGetInputCenterZ());
-
-mVtkObject->SetDirection(bbGetInputDirectionX(),
- bbGetInputDirectionY(),
- bbGetInputDirectionZ());
-
-mVtkObject->SetResolution(bbGetInputResolution());
-mVtkObject->SetRadius((double)bbGetInputRadius());
-mVtkObject->Update();
+bbGetVtkObject()->SetCenter(bbGetInputCenterX(),
+ bbGetInputCenterY(),
+ bbGetInputCenterZ());
+bbGetVtkObject()->SetDirection(bbGetInputDirectionX(),
+ bbGetInputDirectionY(),
+ bbGetInputDirectionZ());
+bbGetVtkObject()->SetResolution(bbGetInputResolution());
+bbGetVtkObject()->SetRadius((double)bbGetInputRadius());
+bbGetVtkObject()->SetHeight((double)bbGetInputHeight());
+bbGetVtkObject()->Update();
</PRE>
</process>
+<defaultValues>
+<PRE>
+ bbSetInputRadius( 1 );
+ bbSetInputHeight( 1 );
+ bbSetInputResolution( 10 );
+ bbSetInputCenterX( 0 );
+ bbSetInputCenterY( 0 );
+ bbSetInputCenterZ( 0 );
+ bbSetInputDirectionX( 0 );
+ bbSetInputDirectionY( 0 );
+ bbSetInputDirectionZ( 1 );
+</PRE>
+</defaultValues>
+
+
+
</blackbox>