Version: 8.3.0
SMESHGUI_VTKUtils.h File Reference
#include "SMESH_SMESHGUI.hxx"
#include "SMESHGUI_Utils.h"
#include <SMESH_Object.h>
#include <SALOMEDSClient_definitions.hxx>
#include <SALOME_InteractiveObject.hxx>
#include <VTKViewer_Filter.h>
#include <TColStd_IndexedMapOfInteger.hxx>
Include dependency graph for SMESHGUI_VTKUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SMESH
 

Typedefs

typedef std::pair< int,
std::string > 
SMESH::TKeyOfVisualObj
 

Enumerations

enum  SMESH::EDisplaing {
  SMESH::eDisplayAll, SMESH::eDisplay, SMESH::eDisplayOnly, SMESH::eErase,
  SMESH::eEraseAll
}
 

Functions

TVisualObjPtr SMESH::GetVisualObj (int theStudyId, const char *theEntry, bool nulData)
 Returns an updated visual object. More...
 
void SMESH::OnVisuException ()
 Notify the user on problems during visualization. More...
 
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. More...
 
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)
 
void SMESH::RemoveVisuData (int studyID)
 Remove all VisualObjs of a study. More...
 
bool SMESH::UpdateView (SUIT_ViewWindow *theWnd, EDisplaing theAction, const char *theEntry)
 
bool SMESH::UpdateView (EDisplaing theAction, const char *theEntry)
 
void SMESH::UpdateView ()
 
bool SMESH::UpdateNulData (const Handle(SALOME_InteractiveObject)&theIO, bool theDisplay)
 
bool SMESH::Update (const Handle(SALOME_InteractiveObject)&theIO, bool theDisplay)
 
void SMESH::SetPointRepresentation (bool theIsVisible)
 
void SMESH::SetPickable (SMESH_Actor *theActor)
 
void SMESH::UpdateSelectionProp (SMESHGUI *theModule)
 
void SMESH::UpdateFontProp (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
 
bool SMESH::IsFilterPresent (int theId, SVTK_Selector *theSelector) = GetSelector() )
 
void SMESH::RemoveFilter (int theId, SVTK_Selector *theSelector)
 
void SMESH::RemoveFilters (SVTK_Selector *theSelector)
 
bool SMESH::IsValid (SALOME_Actor *theActor, int theCellId, SVTK_Selector *theSelector)
 
int SMESH::GetNameOfSelectedNodes (SVTK_Selector *theSelector, const Handle(SALOME_InteractiveObject)&theIO, QString &theName)
 
int SMESH::GetNameOfSelectedElements (SVTK_Selector *theSelector, const Handle(SALOME_InteractiveObject)&theIO, QString &theName)
 
int SMESH::GetEdgeNodes (SVTK_Selector *theSelector, const TVisualObjPtr &theVisualObject, int &theId1, int &theId2)
 
int SMESH::GetNameOfSelectedNodes (LightApp_SelectionMgr *theMgr, const Handle(SALOME_InteractiveObject)&theIO, QString &theName)
 
int SMESH::GetNameOfSelectedNodes (LightApp_SelectionMgr *theMgr, QString &theName)
 
int SMESH::GetNameOfSelectedElements (LightApp_SelectionMgr *theMgr, const Handle(SALOME_InteractiveObject)&theIO, QString &theName)
 
int SMESH::GetNameOfSelectedElements (LightApp_SelectionMgr *theMgr, QString &theName)
 
int SMESH::GetSelected (LightApp_SelectionMgr *theMgr, TColStd_IndexedMapOfInteger &theMap, const bool theIsElement)
 
int SMESH::GetEdgeNodes (LightApp_SelectionMgr *theMgr, int &theId1, int &theId2)
 
void SMESH::SetControlsPrecision (const long theVal)
 
void SMESH::ClearPlot2Viewers (SUIT_ViewWindow *theWindow)
 Find all SMESH_Actor's in the View Window. More...
 
bool SMESH::ComputeClippingPlaneParameters (std::list< vtkActor * > theActorList, double theNormal[3], double theDist, double theBounds[6], double theOrigin[3])
 
bool SMESH::ComputeBounds (std::list< vtkActor * > theActorList, double theBounds[6])
 
void SMESH::PositionToDistance (double theBounds[6], double theDirection[3], double thePos[3], double &theDist)
 
void SMESH::RemoveVisualObjectWithActors (const char *theEntry, bool fromAllViews)
 Remove VisualObj and its actor from all views. More...