algorithms.savgreader Module

Reader for NIST SAVG files.

This reader reads in a .savg file and produces a vtkPartionedDatasSetCollection with one vtkPartitionedDataSet for each type of primitive: points, lines, and polygons.

class paraview.algorithms.savgreader.SAVGReader[source]

Bases: vtkmodules.util.vtkAlgorithm.VTKPythonAlgorithmBase

RequestData(request, inInfoVec, outInfoVec)[source]

Overwritten by subclass to execute the algorithm.

SetFileName(name)[source]

Specify filename for the file to read.

paraview.algorithms.savgreader.get_coords_from_line(line)[source]

Given a line, split it, and parse out the coordinates.

Return:

A tuple containing coords (position, color, normal)

paraview.algorithms.savgreader.not_supported(line)[source]