BOX
creaVtk:BooleanOperationPolyDataFilter:Box77
ISEXEC:FALSE
--87.438358:-24.762722:-900.000000
--63.708358:-27.262722:-900.000000
+-87.603116:-25.092238:-900.000000
+-63.873116:-27.592238:-900.000000
PORT
BoxProcessMode:"Manual"
PORT
BOX
wx:ComboBox:Box78
ISEXEC:FALSE
--153.877713:-5.775167:-900.000000
--127.597713:-8.275167:-900.000000
+-150.912071:6.911190:-900.000000
+-124.632071:4.411190:-900.000000
PORT
-In:"Union Intersection Difference"
+In:"Union Intersection Difference Replace"
FIN_BOX
BOX
wx:LayoutLine:Box79
BOX
wx:CommandButton:Box80
ISEXEC:FALSE
--107.184095:21.801731:-900.000000
--84.909095:19.301731:-900.000000
+-107.475974:19.466702:-900.000000
+-85.200974:16.966702:-900.000000
PORT
Label:"Run"
FIN_BOX
BOX
creaMaracasVisu:wxVtkBaseView_Info:Box96
ISEXEC:FALSE
--157.021318:90.558496:-900.000000
--127.981318:88.058496:-900.000000
+-360.168851:83.553409:-900.000000
+-331.128851:81.053409:-900.000000
FIN_BOX
BOX
creaVtk:PolyDataNormals:Box97
BOX
creaMaracasVisu:ShowNPoints_Tools:Box132
ISEXEC:FALSE
-60.800054:-98.532649:-900.000000
-83.345054:-101.032649:-900.000000
+57.881268:-57.377761:-900.000000
+80.426268:-59.877761:-900.000000
PORT
BoxProcessMode:"Manual"
PORT
set Box77.ReorientDifferenceCells "false"
new wx:ComboBox Box78
- set Box78.In "Union Intersection Difference"
+ set Box78.In "Union Intersection Difference Replace"
new wx:LayoutLine Box79
set Box79.Orientation "H"
// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
- printf("EED ManualContourModel_Box::Process Start\n");
if (bbGetInputActive()==true)
{
lstInconsistentContourY.clear();
// Step 3.3. SIN Normalice points around contours
if (bbGetInputParam().size()==1)
{
- printf("EED ManualContourModel_Box::Process Step 3.3. SIN A\n");
+// printf("EED ManualContourModel_Box::Process Step 3.3. SIN A\n");
if (bbGetInputParam()[0]==1) // type param 1
{
if (bbGetInputOpenClose()==true)
{
- printf("EED ManualContourModel_Box::Process Step 3.3. SIN B\n");
+// printf("EED ManualContourModel_Box::Process Step 3.3. SIN B\n");
RedistributionPointsAllContours_SIN( &lstOutX,&lstOutY,&lstOutZ,&lstIndexsOut);
ShiftValues( &lstOutX, &lstOutY, &lstOutZ, &lstIndexsOut );
} // if OpenClose
bbSetOutputLstPssblIncnsnstntCntrID( lstInconsistentContourID );
} // if DoubleContour
} // if Active
- printf("EED ManualContourModel_Box::Process End\n");
-
}
//=====
//-----------------------------------------------------------------
void ShowNPoints::Process()
{
+ printf("EED ShowNPoints::Process Start\n");
if (mwxwidget!=NULL)
{
mwxwidget->SetRenderer( bbGetInputRenderer() );
// firsttime=false;
if ( mwxwidget->GetModelShowNPoints()->GetFirstTime()==false )
{
+ printf("EED ShowNPoints::Process 1\n");
mwxwidget->DetectCollectionActive();
+ printf("EED ShowNPoints::Process 2\n");
}
if ( mwxwidget->GetModelShowNPoints()->GetFirstTime()==true )
{
bbSetOutputlstSelectedIndexs( mwxwidget->GetLstSelectedIndexs() );
bbSetOutputWidgetShowNPoints( (WidgetShowNPoints*)mwxwidget );
} // mwxwidget
+ printf("EED ShowNPoints::Process End\n");
}
//-----------------------------------------------------------------
void WidgetShowNPoints::DetectCollectionActive()
{
int id;
- if ( cbVisuActualCollection->GetValue()==false )
+ if ( (cbVisuActualCollection!=NULL) && (cbVisuActualCollection->GetValue()==false ) )
{
int i,size=lstModelShowNPoints.size();
for (i=0;i<size;i++)