for ( int i = 1, n = theObjs.Length(); i <= n; i++ )
{
- Handle(HYDROData_Object) anObj = theObjs.Value( i );
+ Handle(HYDROData_Entity) anObj = theObjs.Value( i );
if( anObj.IsNull() )
continue;
for( int i = 1, n = theObjs.Length(); i <= n; i++ )
{
- const Handle(HYDROData_Object)& anObj = theObjs.Value( i );
+ const Handle(HYDROData_Entity)& anObj = theObjs.Value( i );
if( anObj.IsNull() )
anObjectsToErase.Append( anObj );
else
for ( int i = 1, n = theObjs.Length(); i <= n; i++ )
{
- Handle(HYDROData_Object) anObj = theObjs.Value( i );
+ Handle(HYDROData_Entity) anObj = theObjs.Value( i );
if( anObj.IsNull() )
continue;
HYDROGUI_Shape* HYDROGUI_OCCDisplayer::createShape( const int theViewerId,
const Handle(AIS_InteractiveContext)& theContext,
- const Handle(HYDROData_Object)& theObject )
+ const Handle(HYDROData_Entity)& theObject )
{
HYDROGUI_Shape* aResShape = NULL;
if ( theContext.IsNull() || theObject.IsNull() )
return aResShape;
ObjectKind anObjectKind = theObject->GetKind();
- if ( anObjectKind != KIND_POLYLINE &&
+ if ( anObjectKind != KIND_IMAGE &&
+ anObjectKind != KIND_POLYLINE &&
+ anObjectKind != KIND_IMMERSIBLE_ZONE &&
+ anObjectKind != KIND_REGION &&
anObjectKind != KIND_ZONE )
return aResShape;
for ( int i = 1, n = theObjs.Length(); i <= n; i++ )
{
- Handle(HYDROData_Object) anObj = theObjs.Value( i );
+ Handle(HYDROData_Entity) anObj = theObjs.Value( i );
if ( anObj.IsNull() || anObj->IsRemoved() )
continue;
::qobject_cast<OCCViewer_ViewWindow*>( aViewManager->getActiveView() );
if ( aViewWindow )
{
- QApplication::processEvents(); //Process the draw events for viewer
+ //RKV: QApplication::processEvents(); //Process the draw events for viewer
aViewWindow->onFitAll();
}
}
if ( aPrsObj.IsNull() )
continue;
- Handle(HYDROData_Object) anOwnerObj =
- Handle(HYDROData_Object)::DownCast( aPrsObj->GetOwner() );
+ Handle(HYDROData_Entity) anOwnerObj =
+ Handle(HYDROData_Entity)::DownCast( aPrsObj->GetOwner() );
if ( !anOwnerObj.IsNull() && anOwnerObj->IsRemoved() )
myModule->removeObjectShape( (size_t)aViewer, anOwnerObj );
}