mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-04 03:20:32 +05:00
RNV: Fix compilation problems on several platforms.
This commit is contained in:
parent
3e56460d20
commit
5d0e158476
@ -638,22 +638,19 @@ SUIT_ViewWindow* getWnd( const int id )
|
|||||||
return resWnd;
|
return resWnd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class TGetActorAspect: public SALOME_Event
|
||||||
actorAspect SMESH_Swig::GetActorAspect( const char* Mesh_Entry, int viewId )
|
|
||||||
{
|
{
|
||||||
class TGetActorAspect: public SALOME_Event
|
public:
|
||||||
|
typedef actorAspect TResult;
|
||||||
|
TResult myResult;
|
||||||
|
const char* _entry;
|
||||||
|
int _wid;
|
||||||
|
TGetActorAspect( const char* Mesh_Entry, int viewId )
|
||||||
{
|
{
|
||||||
public:
|
_entry = Mesh_Entry;
|
||||||
typedef actorAspect TResult;
|
_wid = viewId;
|
||||||
TResult myResult;
|
}
|
||||||
const char* _entry;
|
virtual void Execute()
|
||||||
int _wid;
|
|
||||||
TGetActorAspect( const char* Mesh_Entry, int viewId )
|
|
||||||
{
|
|
||||||
_entry = Mesh_Entry;
|
|
||||||
_wid = viewId;
|
|
||||||
}
|
|
||||||
virtual void Execute()
|
|
||||||
{
|
{
|
||||||
SMESH_Actor* anActor;
|
SMESH_Actor* anActor;
|
||||||
if (_wid)
|
if (_wid)
|
||||||
@ -685,8 +682,10 @@ actorAspect SMESH_Swig::GetActorAspect( const char* Mesh_Entry, int viewId )
|
|||||||
myResult.opacity= anActor->GetOpacity();
|
myResult.opacity= anActor->GetOpacity();
|
||||||
MESSAGE("opacity: " << myResult.opacity);
|
MESSAGE("opacity: " << myResult.opacity);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
actorAspect SMESH_Swig::GetActorAspect( const char* Mesh_Entry, int viewId )
|
||||||
|
{
|
||||||
return ProcessEvent(new TGetActorAspect( Mesh_Entry, viewId));
|
return ProcessEvent(new TGetActorAspect( Mesh_Entry, viewId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user