Commit 2ffc59be authored by Mike Kremer's avatar Mike Kremer

Changed couts to cerrs.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15785 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1a9a7f41
......@@ -170,7 +170,7 @@ void OMPropertyVisualizerBoolean<MeshT>::setFacePropertyFromText(unsigned int in
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::FaceHandle fh = mesh->face_handle(index);
......@@ -185,7 +185,7 @@ void OMPropertyVisualizerBoolean<MeshT>::setEdgePropertyFromText(unsigned int in
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::EdgeHandle eh = mesh->edge_handle(index);
......@@ -200,7 +200,7 @@ void OMPropertyVisualizerBoolean<MeshT>::setHalfedgePropertyFromText(unsigned in
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::HalfedgeHandle heh = mesh->halfedge_handle(index);
......@@ -215,7 +215,7 @@ void OMPropertyVisualizerBoolean<MeshT>::setVertexPropertyFromText(unsigned int
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::VertexHandle vh = mesh->vertex_handle(index);
......
......@@ -410,7 +410,7 @@ void OMPropertyVisualizerDouble<MeshT>::setFacePropertyFromText(unsigned int ind
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::FaceHandle fh = mesh->face_handle(index);
......@@ -425,7 +425,7 @@ void OMPropertyVisualizerDouble<MeshT>::setEdgePropertyFromText(unsigned int ind
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::EdgeHandle eh = mesh->edge_handle(index);
......@@ -440,7 +440,7 @@ void OMPropertyVisualizerDouble<MeshT>::setHalfedgePropertyFromText(unsigned int
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::HalfedgeHandle heh = mesh->halfedge_handle(index);
......@@ -455,7 +455,7 @@ void OMPropertyVisualizerDouble<MeshT>::setVertexPropertyFromText(unsigned int i
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::VertexHandle vh = mesh->vertex_handle(index);
......
......@@ -441,7 +441,7 @@ void OMPropertyVisualizerInteger<MeshT, T>::setFacePropertyFromText(unsigned int
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::FaceHandle fh = mesh->face_handle(index);
......@@ -457,7 +457,7 @@ void OMPropertyVisualizerInteger<MeshT, T>::setEdgePropertyFromText(unsigned int
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::EdgeHandle eh = mesh->edge_handle(index);
......@@ -473,7 +473,7 @@ void OMPropertyVisualizerInteger<MeshT, T>::setHalfedgePropertyFromText(unsigned
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::HalfedgeHandle heh = mesh->halfedge_handle(index);
......@@ -489,7 +489,7 @@ void OMPropertyVisualizerInteger<MeshT, T>::setVertexPropertyFromText(unsigned i
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::VertexHandle vh = mesh->vertex_handle(index);
......
......@@ -144,7 +144,7 @@ void OMPropertyVisualizerSkinWeights<MeshT>::setVertexPropertyFromText(unsigned
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::VertexHandle vh = mesh->vertex_handle(index);
......
......@@ -340,7 +340,7 @@ void OMPropertyVisualizerVector<MeshT>::setFacePropertyFromText(unsigned int ind
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::FaceHandle fh = mesh->face_handle(index);
......@@ -355,7 +355,7 @@ void OMPropertyVisualizerVector<MeshT>::setEdgePropertyFromText(unsigned int ind
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::EdgeHandle eh = mesh->edge_handle(index);
......@@ -370,7 +370,7 @@ void OMPropertyVisualizerVector<MeshT>::setHalfedgePropertyFromText(unsigned int
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::HalfedgeHandle heh = mesh->halfedge_handle(index);
......@@ -385,7 +385,7 @@ void OMPropertyVisualizerVector<MeshT>::setVertexPropertyFromText(unsigned int i
MeshT* mesh = OMPropertyVisualizer<MeshT>::mesh;
if ( !mesh->get_property_handle(prop, PropertyVisualizer::propertyInfo.propName() ) )
std::cout << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
std::cerr << "Error: No property with name " << PropertyVisualizer::propertyInfo.propName().c_str() << std::endl;
typename MeshT::VertexHandle vh = mesh->vertex_handle(index);
......
......@@ -233,7 +233,7 @@ bool OVMPropertyModel<MeshT>::parseHeader(QString header, PropertyVisualizer*& p
if (n != nExpected)
{
std::cout << "unexpected number of entities" << std::endl;
std::cerr << "unexpected number of entities" << std::endl;
return false;
}
......@@ -241,7 +241,7 @@ bool OVMPropertyModel<MeshT>::parseHeader(QString header, PropertyVisualizer*& p
if (!isSupported(friendlyName))
{
std::cout << "unsupported property type " << friendlyName.toStdString() << std::endl;
std::cerr << "unsupported property type " << friendlyName.toStdString() << std::endl;
return false;
}
......@@ -280,7 +280,7 @@ bool OVMPropertyModel<MeshT>::parseHeader(QString header, PropertyVisualizer*& p
}
else
{
std::cout << "unsupported header format" << std::endl;
std::cerr << "unsupported header format" << std::endl;
return false;
}
}
......@@ -502,7 +502,7 @@ TypeInfoWrapper OVMPropertyModel<MeshT>::getSupportedTypeInfoWrapper(OpenVolumeM
return *propIt;
else
{
std::cout << "error" << std::endl;
std::cerr << "error" << std::endl;
return *propIt;
}
}
......
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