#include <vtkAssignCoordinates.h>
Given two(or three) arrays take the values in those arrays and simply assign them to the coordinates of the vertices. Yes you could do this with the array calculator, but your mom wears army boots so we're not going to.
Definition at line 38 of file vtkAssignCoordinates.h.
Public Types | |
typedef vtkPassInputTypeAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetXCoordArrayName (const char *) |
virtual char * | GetXCoordArrayName () |
virtual void | SetYCoordArrayName (const char *) |
virtual char * | GetYCoordArrayName () |
virtual void | SetZCoordArrayName (const char *) |
virtual char * | GetZCoordArrayName () |
virtual void | SetJitter (bool) |
Static Public Member Functions | |
static vtkAssignCoordinates * | New () |
static int | IsTypeOf (const char *type) |
static vtkAssignCoordinates * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkAssignCoordinates () | |
~vtkAssignCoordinates () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | FillInputPortInformation (int port, vtkInformation *info) |
vtkAssignCoordinates::vtkAssignCoordinates | ( | ) | [protected] |
vtkAssignCoordinates::~vtkAssignCoordinates | ( | ) | [protected] |
static vtkAssignCoordinates* vtkAssignCoordinates::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPassInputTypeAlgorithm.
virtual const char* vtkAssignCoordinates::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPassInputTypeAlgorithm.
static int vtkAssignCoordinates::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPassInputTypeAlgorithm.
virtual int vtkAssignCoordinates::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPassInputTypeAlgorithm.
static vtkAssignCoordinates* vtkAssignCoordinates::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPassInputTypeAlgorithm.
void vtkAssignCoordinates::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkPassInputTypeAlgorithm.
virtual void vtkAssignCoordinates::SetXCoordArrayName | ( | const char * | ) | [virtual] |
Set the x coordinate array name.
virtual char* vtkAssignCoordinates::GetXCoordArrayName | ( | ) | [virtual] |
Set the x coordinate array name.
virtual void vtkAssignCoordinates::SetYCoordArrayName | ( | const char * | ) | [virtual] |
Set the y coordinate array name.
virtual char* vtkAssignCoordinates::GetYCoordArrayName | ( | ) | [virtual] |
Set the y coordinate array name.
virtual void vtkAssignCoordinates::SetZCoordArrayName | ( | const char * | ) | [virtual] |
Set the z coordinate array name.
virtual char* vtkAssignCoordinates::GetZCoordArrayName | ( | ) | [virtual] |
Set the z coordinate array name.
virtual void vtkAssignCoordinates::SetJitter | ( | bool | ) | [virtual] |
Set if you want a random jitter
int vtkAssignCoordinates::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.
Reimplemented from vtkPassInputTypeAlgorithm.
int vtkAssignCoordinates::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkPassInputTypeAlgorithm.