vtk_CAD_graphic

Geometric entities representation (k-points,lines,surfaces,bodies,…)

class postprocess.xcVtk.CAD_model.vtk_CAD_graphic.RecordDefDisplayCAD

Bases: postprocess.xcVtk.vtk_graphic_base.RecordDefDisplay

Define graphic output.

defineMeshScene()

Define mesh scene on ouput display.

displayBlocks(xcSet, fName=None, caption='')

Display geometric entities (points, lines, surfaces and volumes)

Parameters:
  • xcSet – set to be represented
  • diagrams – diagrams to show (optional)
  • fName – name of the graphic file to create (if None then -> screen window).
  • caption – text to display in the graphic.
grafico_cad(xcSet, caption='')

Establish the set of entities to be displayed and add a caption

Parameters:
  • xcSet – set to be represented
  • caption – text to display in the graphic.
plotMultiBlockModel(xcSet, fName, caption='')

vtk_define_cells_cad

postprocess.xcVtk.CAD_model.vtk_define_cells_cad.VtkCargaIdsCells(nmbUGrid, setName, entTypeName)
postprocess.xcVtk.CAD_model.vtk_define_cells_cad.VtkDefineActorCells(nmbUGrid, renderer, tipoRepr)
postprocess.xcVtk.CAD_model.vtk_define_cells_cad.VtkDibujaIdsCells(nmbUGrid, setName, entTypeName, renderer)

vtk_define_kpoints_cad

postprocess.xcVtk.CAD_model.vtk_define_kpoints_cad.VtkCargaIdsKPts(recordGrid)
postprocess.xcVtk.CAD_model.vtk_define_kpoints_cad.VtkDefineActorKPoint(nmbUGrid, renderer, radius)
postprocess.xcVtk.CAD_model.vtk_define_kpoints_cad.VtkDibujaIdsKPts(nmbUGrid, setName, renderer)

Draw the points labels.

vtk_load_kpoints

postprocess.xcVtk.CAD_model.vtk_load_kpoints.VtkLoadKPts(setName, nmbContndr)

vtk_load_lines

postprocess.xcVtk.CAD_model.vtk_load_lines.VtkLoadLineas(setName)

vtk_load_strprop_kpts

postprocess.xcVtk.CAD_model.vtk_load_strprop_kpts.VtkLoadStrPropKPts(setName, nmbProp, nmbContndr)

vtk_load_strprop_lines

postprocess.xcVtk.CAD_model.vtk_load_strprop_lines.VtkLoadStrPropLineas(setName, nmbProp, nmbContndr)

vtk_plot_kpoints

postprocess.xcVtk.CAD_model.vtk_plot_kpoints.VtkDibujaKPts(nmbActor)

vtk_plot_lines

postprocess.xcVtk.CAD_model.vtk_plot_lines.VtkDibujaLineas(nmbActor)