// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
- printf("EED LinearExtrusionFilter::Process In=%p \n",bbGetInputIn() );
-
if (extrude!=NULL)
{
extrude->Delete();
{
std::vector<double> center = _box->_boxcreavtkplanewidget.GetCenter();
std::vector<double> normal = _box->_boxcreavtkplanewidget.GetNormal();
+ SetNormalIn( normal );
double delta = 0.00000001;
bool ok = false;
// _box->bbSignalOutputModification(std::string("Center"));
// _box->bbSignalOutputModification(std::string("Normal"));
_box->bbSignalOutputModification();
-
}
}
// (the one provided in the attribute 'name' of the tag 'input')
// * TYPE is the C++ type of the input/output
// (the one provided in the attribute 'type' of the tag 'input')
- printf("EED PlaneWidget::Process 1 \n");
if ((bbGetInputIn()==NULL) || (bbGetInputRenderer()==NULL))
{
- printf("EED PlaneWidget::Process 2 \n");
bbSetOutputOut( NULL );
std::vector<double> center;
std::vector<double> normal;
bbSetOutputCenter( center );
bbSetOutputNormal( normal );
} else {
- if (bbGetInputOrigin().size()==3) printf("EED PlaneWidget::Process 3 Origin %f, %f, %f \n", bbGetInputOrigin()[0], bbGetInputOrigin()[1], bbGetInputOrigin()[2] );
- else printf("EED PlaneWidget::Process 3 Origin -1 \n" );
_boxcreavtkplanewidget.SetActive( bbGetInputActive() );
_boxcreavtkplanewidget.SetImage( bbGetInputIn() );
_boxcreavtkplanewidget.SetResolution( bbGetInputResolution() );
// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
+ printf("EED PlaneWidget_Base::Process Start \n");
if ((bbGetInputType()==1) && (bbGetInputIn()!=NULL) )
{
+ printf("EED PlaneWidget_Base::Process 1 \n");
std::vector<double> origin = bbGetInputIn()->GetCenter();
std::vector<double> normal = bbGetInputIn()->GetNormal();
origin[0] = origin[0] + normal[0]*bbGetInputParam();
origin[1] = origin[1] + normal[1]*bbGetInputParam();
origin[2] = origin[2] + normal[2]*bbGetInputParam();
bbGetInputIn()->SetOrigin(origin);
+// bbGetInputIn()->SetNormalIn(normal);
bbGetInputIn()->Process();
bbGetInputIn()->Execute();
- }
+ } // if Type == 1
+ printf("EED PlaneWidget_Base::Process End \n");
}
//=====
boxPointPicker->bbSetOutputNormal( lstNormal );
} // if dataarray
} // if ClassName
- printf("EED creaVtkCallbackPointPicker::Execute \n" );
boxPointPicker->bbSignalOutputModification();
} // if
} // if Active
// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
- printf("EED PolyDataNormals::Process In=%p \n", bbGetInputIn() );
-
if (bbGetInputIn()!=NULL)
{
void MeshManagerModel::ResetMeshTemp_()
{
- printf("EED MeshManagerModel::Process ResetMeshTemp_ Start\n");
if (_meshBase!=NULL)
{
if (_meshTemp!=NULL)
_meshTemp->Delete();
} // if
_meshTemp = vtkPolyData::New();
- printf("EED MeshManagerModel::Process ResetMeshTemp_ 1\n");
_meshTemp->DeepCopy(_meshBase);
- printf("EED MeshManagerModel::Process ResetMeshTemp_ 2\n");
} else {
_meshTemp=NULL;
}
- printf("EED MeshManagerModel::Process ResetMeshTemp_ End\n");
}
void MeshManagerModel::SetMeshBase(vtkPolyData* mesh)
void MeshManagerModel::ResetMeshTemp()
{
- printf("EED MeshManagerModel::Process ResetMeshTemp 1\n");
ResetMeshTemp_();
- printf("EED MeshManagerModel::Process ResetMeshTemp 2\n");
RefreshOutputs();
- printf("EED MeshManagerModel::Process ResetMeshTemp 3\n");
}
void MeshManagerModel::CopySetMeshBase(vtkPolyData* mesh)
{
creavtkplanewidget->UpdatePlane();
creavtkplanewidget->Execute();
- }
+ } // if creavtkplanewidget != NULL
}