Skip to content

PolyDataReader ​

Introduction ​

The vtkPolyDataReader reads legacy VTK ASCII files. The current implementation is limited to the geometry: no point, cell or field data is read.

Methods ​

extend ​

Method used to decorate a given object (publicAPI+model) with vtkPolyDataReader characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIPolyDataReaderInitialValuesNo(default: {})

getBaseURL ​

getDataAccessHelper ​

getUrl ​

Get the url of the object to load.

loadData ​

Load the object data.

ArgumentTypeRequiredDescription
optionIPolyDataReaderOptionsNo

newInstance ​

Method used to create a new instance of vtkPolyDataReader

ArgumentTypeRequiredDescription
initialValuesIPolyDataReaderInitialValuesNofor pre-setting some of its content

parseAsText ​

Parse data as text.

ArgumentTypeRequiredDescription
contentStringYesThe content to parse.

requestData ​

ArgumentTypeRequiredDescription
inDataYes
outDataYes

setDataAccessHelper ​

ArgumentTypeRequiredDescription
dataAccessHelperYes

setUrl ​

Set the url of the object to load.

ArgumentTypeRequiredDescription
urlStringYesthe url of the object to load.
optionIPolyDataReaderOptionsNoThe PolyData reader options.