source to generate dataset given field arrays More...
#include <vtkSteeringDataGenerator.h>
Public Types | |
typedef vtkDataObjectAlgorithm | Superclass |
![]() | |
typedef vtkAlgorithm | Superclass |
![]() | |
enum | DesiredOutputPrecision |
enum | DesiredOutputPrecision |
typedef vtkObject | Superclass |
Protected Attributes | |
int | PartitionType |
int | FieldAssociation |
![]() | |
vtkInformation * | Information |
double | Progress |
char * | ProgressText |
vtkProgressObserver * | ProgressObserver |
unsigned long | ErrorCode |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
![]() | |
SINGLE_PRECISION | |
DOUBLE_PRECISION | |
DEFAULT_PRECISION | |
int | AbortExecute |
![]() | |
static vtkInformationIntegerKey * | PORT_REQUIREMENTS_FILLED () |
![]() | |
static vtkExecutive * | DefaultExecutivePrototype |
source to generate dataset given field arrays
vtkSteeringDataGenerator is simply a dataset generator that generates a single partition vtkMultiBlockDataSet with the 1st partition being non-empty dataset of the type specified using vtkSteeringDataGenerator::SetPartitionType
with arrays added to the field type chosen using vtkSteeringDataGenerator::SetFieldAssociation`.
If the PartitionType is a vtkPointSet subclass, then one can use coords as the field array name to add point coordinates when FieldAssociation is set to vtkDataObject::FIELD_ASSOCIATION_POINTS.
A sample proxy definition that uses this source is as follows:
This filter should ideally generated vtkPartitionedDataSet
. However, until vtkPartitionedDataSet
is well supported, we are making it generate vtkMultiBlockDataSet.
Definition at line 101 of file vtkSteeringDataGenerator.h.
Definition at line 105 of file vtkSteeringDataGenerator.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkDataObjectAlgorithm.
|
static |
|
overridevirtual |
Reimplemented from vtkDataObjectAlgorithm.
|
virtual |
Choose the type for a partition in the output vtkMultiBlockDataSet.
Accepted values are any non-composite dataset type know to vtkDataObjectTypes.
|
virtual |
Choose the type for a partition in the output vtkMultiBlockDataSet.
Accepted values are any non-composite dataset type know to vtkDataObjectTypes.
|
virtual |
Indicate the field association to which the specified data arrays are added.
The FieldAssociation must make sense for the chosen PartitionType i.e. setting FieldAssociation to vtkDataObjectTypes::FIELD_ASSOCIATION_ROWS for a PartitionType of VTK_POLY_DATA is invalid.
|
virtual |
Indicate the field association to which the specified data arrays are added.
The FieldAssociation must make sense for the chosen PartitionType i.e. setting FieldAssociation to vtkDataObjectTypes::FIELD_ASSOCIATION_ROWS for a PartitionType of VTK_POLY_DATA is invalid.
|
inline |
Convenience method to specify the selection connection (2nd input port).
Note that for now only the first node of the selection will be considered as we didn't support expresion.
Definition at line 137 of file vtkSteeringDataGenerator.h.
|
inline |
Convenience method to specify the selection connection (2nd input port).
Note that for now only the first node of the selection will be considered as we didn't support expresion.
Definition at line 142 of file vtkSteeringDataGenerator.h.
void vtkSteeringDataGenerator::SetTuple1Double | ( | const char * | arrayname, |
vtkIdType | index, | ||
double | val | ||
) |
Methods to add individual tuples to the data arrays.
The number of components and type of the array depends on the API overload used. The array is idenfied using arrayname. Array names are assumed unique. Changing the type or components of any array without calling Clear
first is not supported. The array will be resized to contain the tuple indicated.
Methods to add individual tuples to the data arrays.
The number of components and type of the array depends on the API overload used. The array is idenfied using arrayname. Array names are assumed unique. Changing the type or components of any array without calling Clear
first is not supported. The array will be resized to contain the tuple indicated.
void vtkSteeringDataGenerator::SetTuple1IdType | ( | const char * | arrayname, |
vtkIdType | index, | ||
vtkIdType | val | ||
) |
Methods to add individual tuples to the data arrays.
The number of components and type of the array depends on the API overload used. The array is idenfied using arrayname. Array names are assumed unique. Changing the type or components of any array without calling Clear
first is not supported. The array will be resized to contain the tuple indicated.
void vtkSteeringDataGenerator::SetTuple2Double | ( | const char * | arrayname, |
vtkIdType | index, | ||
double | val0, | ||
double | val1 | ||
) |
Methods to add individual tuples to the data arrays.
The number of components and type of the array depends on the API overload used. The array is idenfied using arrayname. Array names are assumed unique. Changing the type or components of any array without calling Clear
first is not supported. The array will be resized to contain the tuple indicated.
void vtkSteeringDataGenerator::SetTuple2Int | ( | const char * | arrayname, |
vtkIdType | index, | ||
int | val0, | ||
int | val1 | ||
) |
Methods to add individual tuples to the data arrays.
The number of components and type of the array depends on the API overload used. The array is idenfied using arrayname. Array names are assumed unique. Changing the type or components of any array without calling Clear
first is not supported. The array will be resized to contain the tuple indicated.
void vtkSteeringDataGenerator::SetTuple2IdType | ( | const char * | arrayname, |
vtkIdType | index, | ||
vtkIdType | val0, | ||
vtkIdType | val1 | ||
) |
Methods to add individual tuples to the data arrays.
The number of components and type of the array depends on the API overload used. The array is idenfied using arrayname. Array names are assumed unique. Changing the type or components of any array without calling Clear
first is not supported. The array will be resized to contain the tuple indicated.
void vtkSteeringDataGenerator::SetTuple3Double | ( | const char * | arrayname, |
vtkIdType | index, | ||
double | val0, | ||
double | val1, | ||
double | val2 | ||
) |
Methods to add individual tuples to the data arrays.
The number of components and type of the array depends on the API overload used. The array is idenfied using arrayname. Array names are assumed unique. Changing the type or components of any array without calling Clear
first is not supported. The array will be resized to contain the tuple indicated.
void vtkSteeringDataGenerator::SetTuple3Int | ( | const char * | arrayname, |
vtkIdType | index, | ||
int | val0, | ||
int | val1, | ||
int | val2 | ||
) |
Methods to add individual tuples to the data arrays.
The number of components and type of the array depends on the API overload used. The array is idenfied using arrayname. Array names are assumed unique. Changing the type or components of any array without calling Clear
first is not supported. The array will be resized to contain the tuple indicated.
void vtkSteeringDataGenerator::SetTuple3IdType | ( | const char * | arrayname, |
vtkIdType | index, | ||
vtkIdType | val0, | ||
vtkIdType | val1, | ||
vtkIdType | val3 | ||
) |
Methods to add individual tuples to the data arrays.
The number of components and type of the array depends on the API overload used. The array is idenfied using arrayname. Array names are assumed unique. Changing the type or components of any array without calling Clear
first is not supported. The array will be resized to contain the tuple indicated.
void vtkSteeringDataGenerator::Clear | ( | const char * | arrayname | ) |
Remove the array identified by the arrayname, if any.
void vtkSteeringDataGenerator::TransferSelectionToInternals | ( | vtkSelection * | selection | ) |
Append as array the list of selected id and the field type of the current selection.
|
overrideprotectedvirtual |
Reimplemented from vtkDataObjectAlgorithm.
|
overrideprotected |
|
overrideprotectedvirtual |
Reimplemented from vtkDataObjectAlgorithm.
|
overrideprotected |
|
protected |
Definition at line 190 of file vtkSteeringDataGenerator.h.
|
protected |
Definition at line 191 of file vtkSteeringDataGenerator.h.