Commit de1dd781 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[CLEAN #722] removed couts

parent 50dae8a1
......@@ -79,7 +79,7 @@ const char** WMDirectVolumeRendering2TF::getXPMIcon() const
const std::string WMDirectVolumeRendering2TF::getName() const
{
// Specify your module name here. This name must be UNIQUE!
return "Direct Volume Rendering for 2 TF";
return "Direct Volume Rendering using a 2D transfer function.";
}
const std::string WMDirectVolumeRendering2TF::getDescription() const
......@@ -98,7 +98,7 @@ void WMDirectVolumeRendering2TF::connectors()
// The transfer function for our DVR
m_transferFunction = WModuleInputData< WDataSetSingle >::createAndAdd( shared_from_this(),
"transfer function data set 1",
"transfer function",
"The 2D transfer function for the two data sets." );
// Optional: the gradient field
......
......@@ -67,7 +67,7 @@ const std::string WMTransferFunction2D::getName() const
const std::string WMTransferFunction2D::getDescription() const
{
return "A module to modify a transfer function.";
return "A module to modify a 2D transfer function.";
}
void WMTransferFunction2D::connectors()
......
......@@ -66,7 +66,6 @@ WPropertyTransferFunction2DWidget::WPropertyTransferFunction2DWidget( WPropTrans
WPropertyTransferFunction2DWidget::~WPropertyTransferFunction2DWidget()
{
// cleanup
// std::cout << "cleanup." << std::endl;
}
namespace
......@@ -90,12 +89,12 @@ namespace
void WPropertyTransferFunction2DWidget::update()
{
modifying = true;
std::cout << "Widget update" << std::endl;
//std::cout << "Widget update" << std::endl;
WTransferFunction2D tf( m_transferFunctionProperty->get() );
if( tf != lastTransferFunction )
{
std::cout << "tf updated" << std::endl;
//std::cout << "TF updated" << std::endl;
m_transferFunction.cleanTransferFunction();
m_transferFunction.setHistogram( tf.getHistogram() );
......@@ -113,7 +112,7 @@ void WPropertyTransferFunction2DWidget::update()
}
else
{
std::cout << "update blocked because nothing changed" << std::endl;
//std::cout << "update blocked because nothing changed" << std::endl;
}
modifying = false;
}
......@@ -126,13 +125,12 @@ void WPropertyTransferFunction2DWidget::guiUpdate( const WTransferFunction2D& tf
lastTransferFunction = tf;
if( !modifying )
{
std::cout << "guiUpdate(...)" << std::endl;
//std::cout << "guiUpdate(...)" << std::endl;
m_transferFunctionProperty->set( tf );
std::cout << "end guiUpdate(...)" << std::endl;
//std::cout << "end guiUpdate(...)" << std::endl;
}
else
{
std::cout << "guiUpdate(...) blocked" << std::endl;
//std::cout << "guiUpdate(...) blocked" << std::endl;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment