VisuGUI
::OnCreateDeformedShape()
{
- // CreatePrs3d<VISU::DeformedShape_i,VisuGUI_DeformedShapeDlg,1>(this);
- Prs3d_i* aPrs = VisuGUI_DeformedShapeDlg::CreatePrs3d(this);
+ Prs3d_i* aPrs = CreatePrs3d<VISU::DeformedShape_i,VisuGUI_DeformedShapeDlg,1>(this);
if (aPrs)
emit presentationCreated(aPrs);
}
VISU::VISUType aType = aBase->GetType();
- if ( VISU::Prs3d_i* aPrs3d = VISU::GetPrs3dFromBase(aBase) ) {
+ if ( VISU::GetPrs3dFromBase(aBase) ) {
// activate SVTK Viewer
getApp()->getViewManager( SVTK_Viewer::Type(), true );
return;
CORBA::Object_var aCORBAObject = VISU::ClientSObjectToObject(aChild);
if(!CORBA::is_nil(aCORBAObject)){
PortableServer::ServantBase_var aServant = VISU::GetServant(aCORBAObject);
- if( VISU::Curve_i* aCurve = dynamic_cast<VISU::Curve_i*>(aServant.in()))
+ if( dynamic_cast<VISU::Curve_i*>(aServant.in()))
hasCurvesChildren = true;
}
}