module()->removeObjectShape( (size_t)aViewer, anObj );
}
+ aViewer->update();
}
HYDROGUI_Shape* HYDROGUI_OCCDisplayer::createShape( const int theViewerId,
ObjectKind anObjectKind = theObject->GetKind();
if ( anObjectKind != KIND_IMAGE &&
- anObjectKind != KIND_POLYLINE &&
+ anObjectKind != KIND_POLYLINEXY &&
anObjectKind != KIND_IMMERSIBLE_ZONE &&
anObjectKind != KIND_REGION &&
anObjectKind != KIND_ZONE &&
- anObjectKind != KIND_OBSTACLE )
+ anObjectKind != KIND_OBSTACLE &&
+ anObjectKind != KIND_PROFILE &&
+ anObjectKind != KIND_STREAM &&
+ anObjectKind != KIND_CHANNEL )
return aResShape;
aResShape = new HYDROGUI_Shape( theContext, theObject );
}
}
-
+QString HYDROGUI_OCCDisplayer::GetType() const
+{
+ return OCCViewer_Viewer::Type();
+}