-window_sizes 1024 1258 364 654 1201 0
+window_sizes 1398 856 495 897 799 0
diagrams
active classdiagram_ref 128002 // bbtk-Class-Diagram
- 650 1181 100 4 0 0
+ 650 1181 100 4 38 0
end
show_stereotypes
-selected classview_ref 129282 // src
+selected classdiagram_ref 128002 // bbtk-Class-Diagram
open
- class_ref 149890 // MagicBoxSetFunctor
- classview_ref 129282 // src
+ classview_ref 128002 // src
end
end
bbSetInputRenderer(NULL);
bbSetInputTransform(NULL);
bbSetInputOpacity(1);
+ bbSetInputRepresentation(1);
+ bbSetInputLineWidth(1);
polydatamapper = NULL;
vtkactor = NULL;
{
polydatamapper->SetInput( bbGetInputIn() );
+ vtkactor->GetProperty()->SetRepresentation( bbGetInputRepresentation() );
+ vtkactor->GetProperty()->SetLineWidth( bbGetInputLineWitdth() );
+
vtkactor->GetProperty()->SetColor( bbGetInputColour()[0],
bbGetInputColour()[1],
bbGetInputColour()[2] );
BBTK_DECLARE_INPUT(Colour,std::vector<double>);
BBTK_DECLARE_INPUT(Renderer,vtkRenderer *);
BBTK_DECLARE_INPUT(Transform, vtkLinearTransform *);
+ BBTK_DECLARE_INPUT(Representation, int);
+ BBTK_DECLARE_INPUT(LineWitdth, double);
BBTK_DECLARE_OUTPUT(Out,vtkProp3D *);
BBTK_PROCESS(DoProcess);
BBTK_INPUT(PolyDataToActor,Colour,"r g b",vectorcolour,"colour");
BBTK_INPUT(PolyDataToActor,Renderer,"3D scene in which to insert the surface",vtkRenderer*,"");
BBTK_INPUT(PolyDataToActor,Transform,"Linear Transform (4x4 homogeneous)",vtkLinearTransform*,"");
+ BBTK_INPUT(PolyDataToActor,Representation,"0 points, 1(default) surface, 2 wireframe",int,"");
+ BBTK_INPUT(PolyDataToActor,LineWitdth,"Width of the wireframe (1 default)",double,"");
BBTK_OUTPUT(PolyDataToActor,Out,"Extracted iso-surface",vtkProp3D *,"");
BBTK_END_DESCRIBE_BLACK_BOX(PolyDataToActor);