Version: 6.3.1
Data Structures | Packages | Typedefs | Functions | Variables

src/SMESHGUI/SMESHGUI_VTKUtils.cxx File Reference

#include "SMESHGUI_VTKUtils.h"
#include "SMESHGUI.h"
#include "SMESHGUI_Utils.h"
#include "SMESHGUI_Filter.h"
#include "SMESH_ControlsDef.hxx"
#include <SMESH_Actor.h>
#include <SMESH_ActorUtils.h>
#include <SMESH_ObjectDef.h>
#include <SMDS_Mesh.hxx>
#include <SUIT_Desktop.h>
#include <SUIT_Session.h>
#include <SUIT_MessageBox.h>
#include <SUIT_ViewManager.h>
#include <SUIT_ResourceMgr.h>
#include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <SVTK_Selector.h>
#include <SVTK_ViewModel.h>
#include <SVTK_ViewWindow.h>
#include <VTKViewer_Algorithm.h>
#include <LightApp_SelectionMgr.h>
#include <SalomeApp_Application.h>
#include <SalomeApp_Study.h>
#include <utilities.h>
#include <SALOMEconfig.h>
#include <CORBA_CLIENT_HEADER(SMESH_Mesh)>
#include <CORBA_CLIENT_HEADER(SMESH_Group)>
#include <vtkMath.h>
#include <vtkRenderer.h>
#include <vtkActorCollection.h>
#include <vtkUnstructuredGrid.h>
#include <TColStd_IndexedMapOfInteger.hxx>
#include <Standard_ErrorHandler.hxx>
Include dependency graph for SMESHGUI_VTKUtils.cxx:

Go to the source code of this file.

Data Structures

struct  SMESH.MemoryReserve
 Allocate some memory at construction and release it at destruction. More...

Packages

package  SMESH

Typedefs

typedef std::map
< TKeyOfVisualObj,
TVisualObjPtr
SMESH.TVisualObjCont

Functions

void SMESH.RemoveVisualObjectWithActors (const char *theEntry, bool fromAllViews)
 Remove VisualObj and its actor from all views.
void SMESH.RemoveAllObjectsWithActors ()
 Remove all VisualObjs and their actors from all views.
void SMESH.RemoveVisuData (int studyID)
 Remove all VisualObjs of a study.
void SMESH.OnVisuException ()
 Notify the user on problems during visualization.
TVisualObjPtr SMESH.GetVisualObj (int theStudyId, const char *theEntry, bool nulData)
 Returns an updated visual object.
SVTK_ViewWindow * SMESH.GetViewWindow (const SalomeApp_Module *theModule, bool createIfNotFound)
 Return active view window, if it instantiates SVTK_ViewWindow class, overwise find or create corresponding view window, make it active and return it.
SVTK_ViewWindow * SMESH.FindVtkViewWindow (SUIT_ViewManager *theMgr, SUIT_ViewWindow *theWindow)
SVTK_ViewWindow * SMESH.GetVtkViewWindow (SUIT_ViewWindow *theWindow)
SVTK_ViewWindow * SMESH.GetCurrentVtkView ()
void SMESH.RepaintCurrentView ()
void SMESH.RepaintViewWindow (SVTK_ViewWindow *theWindow)
void SMESH.RenderViewWindow (SVTK_ViewWindow *theWindow)
void SMESH.FitAll ()
SMESH_ActorSMESH.FindActorByEntry (SUIT_ViewWindow *theWindow, const char *theEntry)
SMESH_ActorSMESH.FindActorByEntry (const char *theEntry)
SMESH_ActorSMESH.FindActorByObject (CORBA::Object_ptr theObject)
SMESH_ActorSMESH.CreateActor (_PTR(Study) theStudy, const char *theEntry, int theIsClear)
void SMESH.DisplayActor (SUIT_ViewWindow *theWnd, SMESH_Actor *theActor)
void SMESH.RemoveActor (SUIT_ViewWindow *theWnd, SMESH_Actor *theActor)
bool SMESH.noSmeshActors (SUIT_ViewWindow *theWnd)
 Return true if there are no SMESH actors in a view.
bool SMESH.UpdateView (SUIT_ViewWindow *theWnd, EDisplaing theAction, const char *theEntry)
bool SMESH.UpdateView (EDisplaing theAction, const char *theEntry)
void SMESH.UpdateView ()
bool SMESH.Update (const Handle(SALOME_InteractiveObject)&theIO, bool theDisplay)
bool SMESH.UpdateNulData (const Handle(SALOME_InteractiveObject)&theIO, bool theDisplay)
void SMESH.UpdateSelectionProp (SMESHGUI *theModule)
SVTK_Selector * SMESH.GetSelector (SUIT_ViewWindow *theWindow)
void SMESH.SetFilter (const Handle(VTKViewer_Filter)&theFilter, SVTK_Selector *theSelector)
 SMESH.Handle (VTKViewer_Filter) GetFilter(int theId

Variables

static TVisualObjCont SMESH.VISUAL_OBJ_CONT
static MemoryReserveSMESH.theVISU_MemoryReserve = new MemoryReserve
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS