// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
+ printf("EED BooleanOperationPolyDataFilter::Process \n");
+
if ((bbGetInputIn1()!=NULL) && (bbGetInputIn2()!=NULL) )
{
//TRIANGLE FILTER NOT NEEDED, this can handle non triangle meshes.
mBox->bbSetOutputMeshNames( GetMeshNames() );
mBox->bbSetOutputAllPolyDatas( GetAllPolyDatas() );
mBox->bbSetOutputMeshSelection( GetCurrentMesh() );
- if(signalBox==true){
+ if(signalBox==true)
+ {
mBox->bbSignalOutputModification();
}
}
if (meshManagerModel_Box==NULL)
{
meshManagerModel_Box = new MeshManagerModel_Box(this);
-
if(bbGetInputMemoryMode() == false){
meshManagerModel_Box->MeshMemoryModeOff();
meshManagerModel_Box->AddMeshes_( bbGetInputMeshVector() );
meshManagerModel_Box->AddMesh_( bbGetInputMesh() );
meshManagerModel_Box->ResetHistory();
- }
- else{
+ } else {
meshManagerModel_Box->MeshMemoryModeOn();
meshManagerModel_Box->SetHistory(50);
meshManagerModel_Box->AddMesh_( bbGetInputMesh() );
meshManagerModel_Box->SaveMemoryMode();
}
-
//meshManagerModel_Box->SetMeshBase( bbGetInputMesh() );
meshManagerModel_Box->RefreshOutputs(false);
bbSetOutputMeshManagerModel( meshManagerModel_Box );
// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
+ printf("EED MeshManager_tool::Process tool=%d %s Ojo ------------------------\n", bbGetInputTool(), bbGetFullName().c_str() );
+ printf(" Mesh %p\n", bbGetInputMesh() );
+ printf(" ManagerModel %p\n", bbGetInputMeshManagerModel() );
+
if (bbGetInputMeshManagerModel()!=NULL)
{
if (bbGetInputTool()==10) // Undo
} else {
printf("EED Warning! MeshManager_tool : MeshManagerModel not defined. \n");
}// if MeshManagerModel != NULL
+
}
//=====