{
bbSetOutputvtkRenderer( bbGetInputwxVtkBaseView()->GetRenderer() );
bbSetOutputDirection( bbGetInputwxVtkBaseView()->GetDirection() );
+
+ vtkBaseData *vtkbasedata = bbGetInputwxVtkBaseView()->GetVtkBaseData();
+ if (vtkbasedata!=NULL)
+ {
+ marImageData *marimagedata = vtkbasedata->GetMarImageData();
+ if (marimagedata!=NULL)
+ {
+ bbSetOutputImage( marimagedata->GetImageData() );
+ } // MarImageData
+ } // BaseData
}
BBTK_DECLARE_INPUT(wxVtkBaseView,wxVtkBaseView*);
BBTK_DECLARE_OUTPUT(vtkRenderer,vtkRenderer*);
BBTK_DECLARE_OUTPUT(Direction,int);
+ BBTK_DECLARE_OUTPUT(Image,vtkImageData*);
BBTK_PROCESS(Process);
void Process();
//=====
BBTK_OUTPUT(wxVtkBaseView_Info,Direction,"Direction -1=3D 0=YZ 1=XZ 2=XY(default)",int,"");
BBTK_OUTPUT(wxVtkBaseView_Info,vtkRenderer,"vtkRenderer default=NULL",vtkRenderer*,"");
+ BBTK_OUTPUT(wxVtkBaseView_Info,Image,"vtkImageData",vtkImageData*,"");
BBTK_END_DESCRIBE_BLACK_BOX(wxVtkBaseView_Info);
//=====