void boxcreaVtkPlaneWidget::Execute() // virutal
{
- printf("EED bbcreaVtkPlaneWidget::Execute (virtual) start \n");
- box->bbSetOutputOut( box->_boxcreavtkplanewidget.GetPlaneSource()->GetOutput() );
- printf("EED bbcreaVtkPlaneWidget::Execute (virtual) start 1\n");
+ box->bbSetOutputOut( box->_boxcreavtkplanewidget.GetPlaneSource()->GetOutput() );
box->bbSignalOutputModification(std::string("Out"));
- printf("EED bbcreaVtkPlaneWidget::Execute (virtual) end \n");
-
box->bbSetOutputCenter( box->_boxcreavtkplanewidget.GetCenter() );
box->bbSignalOutputModification(std::string("Center"));
box->bbSetOutputNormal( box->_boxcreavtkplanewidget.GetNormal() );
//EED pointdata->AddArray( nda );
//EED bbGetInputIn()->GetPointData()->AddArray( nda );
//EED2 _pdm->ScalarVisibilityOn();
- _pdm->SetScalarModeToUsePointFieldData();
+
+
+
+
+
+ _pdm->ScalarVisibilityOn();
+ _pdm->SetColorModeToMapScalars();
+ //_pdm->SetColorModeToDefault();
+ // _pdm->SetColorModeToDirectScalars(); // NOT compile
+ _pdm->SetScalarModeToUsePointFieldData();
+ _pdm->ImmediateModeRenderingOn();
+
+ _LutEED->SetVectorModeToComponent();
+ //_LutEED->SetVectorModeToRGBColors();
+ //_LutEED->SetVectorModeToMagnitud();
+
+
+
+// _pdm->SetScalarModeToUsePointFieldData();
_pdm->SetLookupTable( _LutEED );
_pdm->SelectColorArray( "GlyphVector" );