#include <QString>
#include <QStringList>
#include <QTextStream>
+#include <QColor>
HYDROData_SinusX::HYDROData_SinusX( )
{
aPolyXY->SetName(GetName(myCurveBlocks[i].myName + "_polyXY"));
aProfileUZ->SetName(GetName(myCurveBlocks[i].myName + "_profileUZ"));
aProfile->SetName(GetName(myCurveBlocks[i].myName + "_profile"));
+ aPolyXY->SetWireColor(HYDROData_PolylineXY::DefaultWireColor());
theEntities.Append(aPolyXY);
theEntities.Append(aProfileUZ);
theEntities.Append(aProfile);
else
abort();
- module()->update( UF_Model | UF_VTKViewer | UF_VTK_Forced | UF_VTK_Init );
-
+ module()->update( UF_Model | UF_VTKViewer | UF_OCCViewer );
QApplication::restoreOverrideCursor();
}
{
size_t anActiveViewId = HYDROGUI_Tool::GetActiveGraphicsViewId( module() );
if ( anActiveViewId == 0 )
- anActiveViewId = HYDROGUI_Tool::GetActiveOCCViewId( module() );
+ anActiveViewId = HYDROGUI_Tool::GetActiveViewId( module() );
for (int i = 1; i <= anEntities.Size() ; i++)
{