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.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IPolyDataReaderInitialValues | No | (default: {}) |
getBaseURL
getDataAccessHelper
getUrl
Get the url of the object to load.
loadData
Load the object data.
| Argument | Type | Required | Description |
|---|---|---|---|
option | IPolyDataReaderOptions | No |
newInstance
Method used to create a new instance of vtkPolyDataReader
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IPolyDataReaderInitialValues | No | for pre-setting some of its content |
parseAsText
Parse data as text.
| Argument | Type | Required | Description |
|---|---|---|---|
content | String | Yes | The content to parse. |
requestData
| Argument | Type | Required | Description |
|---|---|---|---|
inData | Yes | ||
outData | Yes |
setDataAccessHelper
| Argument | Type | Required | Description |
|---|---|---|---|
dataAccessHelper | Yes |
setUrl
Set the url of the object to load.
| Argument | Type | Required | Description |
|---|---|---|---|
url | String | Yes | the url of the object to load. |
option | IPolyDataReaderOptions | No | The PolyData reader options. |