CORBA::Object_ptr anObject = aNamingService.Resolve("/Kernel/Session");
SALOME::Session_var aSession = SALOME::Session::_narrow(anObject);
//aSession->GetInterface();
- Engines::Component_var aComponent = aSession->GetVisuComponent();
+ Engines::Component_var aComponent = aSession->GetComponent("libVISUEngineImpl.so");
myVisuGen = VISU::VISU_Gen::_narrow(aComponent);
}
}
+ Result_ptr VISU_Gen_i::CreateResult(const char* theFileName){
+ return myVisuGen->CreateResult(theFileName);
+ }
+
+
Result_ptr VISU_Gen_i::CopyAndImportFile(const char* theFileName){
return myVisuGen->CopyAndImportFile(theFileName);
}
}
+ GaussPoints_ptr VISU_Gen_i::GaussPointsOnField(Result_ptr theResult,
+ const char* theMeshName,
+ VISU::Entity theEntity,
+ const char* theFieldName,
+ CORBA::Double theIteration)
+ {
+ return myVisuGen->GaussPointsOnField(theResult,theMeshName,theEntity,theFieldName,theIteration);
+ }
+
+
DeformedShape_ptr VISU_Gen_i::DeformedShapeOnField(Result_ptr theResult,
const char* theMeshName,
VISU::Entity theEntity,
}
+ Plot3D_ptr VISU_Gen_i::Plot3DOnField(Result_ptr theResult,
+ const char* theMeshName,
+ VISU::Entity theEntity,
+ const char* theFieldName,
+ CORBA::Double theIteration)
+ {
+ return myVisuGen->Plot3DOnField(theResult,theMeshName,theEntity,theFieldName,theIteration);
+ }
+
+
Table_ptr VISU_Gen_i::CreateTable(const char* theTableEntry){
return myVisuGen->CreateTable(theTableEntry);
}
{
return myVisuGen->PasteInto(theStream,theObjectID,theObject);
}
+ Engines::TMPFile* VISU_Gen_i::DumpPython(CORBA::Object_ptr theStudy,
+ CORBA::Boolean theIsPublished,
+ CORBA::Boolean& theIsValidScript)
+ {
+ return myVisuGen->DumpPython(theStudy, theIsPublished, theIsValidScript);
+ }
};