Version: 9.12.0
SMESHGUI_MeshEditPreview.cxx File Reference
#include "SMESHGUI_MeshEditPreview.h"
#include "SMESHGUI_VTKUtils.h"
#include "SMESH_Actor.h"
#include "SMESH_ActorUtils.h"
#include <SVTK_Renderer.h>
#include <SVTK_ViewWindow.h>
#include <vtkCellArray.h>
#include <vtkCoordinate.h>
#include <vtkDataSetMapper.h>
#include <vtkIdList.h>
#include <vtkPoints.h>
#include <vtkProperty.h>
#include <vtkRenderer.h>
#include <vtkTextActor.h>
#include <vtkTextMapper.h>
#include <vtkUnsignedCharArray.h>
#include <vtkUnstructuredGrid.h>
#include <QColor>
#include <SALOMEconfig.h>
#include <CORBA_SERVER_HEADER(SMESH_MeshEditor)>
#include <gp_Ax3.hxx>
Include dependency graph for SMESHGUI_MeshEditPreview.cxx:

Functions

vtkIdType getCellType (const SMDSAbs_ElementType theType, const bool thePoly, const int theNbNodes)
 Returns vtk cell type. More...
 

Function Documentation

◆ getCellType()

vtkIdType getCellType ( const SMDSAbs_ElementType  theType,
const bool  thePoly,
const int  theNbNodes 
)

Returns vtk cell type.

References SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Node, and SMDSAbs_Volume.

Referenced by SMESHGUI_MeshEditPreview::SetData().