#include <vtkVectors.h>
Inheritance diagram for vtkVectors:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkAttributeData * | MakeObject () |
int | GetNumberOfVectors () |
float * | GetVector (int id) |
void | GetVector (int id, float v[3]) |
void | GetVector (int id, double v[3]) |
void | SetVector (int id, const float v[3]) |
void | SetVector (int id, const double v[3]) |
void | SetVector (int id, double vx, double vy, double vz) |
void | InsertVector (int id, const float v[3]) |
void | InsertVector (int id, const double v[3]) |
void | InsertVector (int id, double vx, double vy, double vz) |
int | InsertNextVector (const float v[3]) |
int | InsertNextVector (const double v[3]) |
int | InsertNextVector (double vx, double vy, double vz) |
void | SetNumberOfVectors (int number) |
void | ComputeMaxNorm () |
double | GetMaxNorm () |
void | GetVectors (vtkIdList *ptId, vtkVectors *fv) |
void | GetVectors (vtkIdList &ptId, vtkVectors &fv) |
Static Public Methods | |
vtkVectors * | New (int dataType) |
vtkVectors * | New () |
int | IsTypeOf (const char *type) |
vtkVectors * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkVectors () | |
~vtkVectors () | |
vtkVectors (const vtkVectors &) | |
void | operator= (const vtkVectors &) |
Protected Attributes | |
double | MaxNorm |
vtkTimeStamp | ComputeTime |
vtkVectors represents 3D vectors. The data model for vtkVectors is an array of vx-vy-vz triplets accessible by (point or cell) id.
|
Compute the largest norm for these vectors. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
Return the maximum norm for these vectors. |
|
Return number of vectors in array. |
|
Copy vector components into user provided array v[3] for specified id. |
|
Return a pointer to a float vector v[3] for a specific id. |
|
For legacy compatibility. Do not use. |
|
Given a list of pt ids, return an array of vectors. |
|
Insert vector into next available slot. Returns id of slot. |
|
Insert vector into object. Range checking performed and memory allocated as necessary. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
Create the same type object as this (virtual constructor). Implements vtkAttributeData. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkFloatVectors. |
|
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 vtkAttributeData. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
Specify the number of vectors for this object to hold. Does an allocation as well as setting the MaxId ivar. Used in conjunction with SetVector() method for fast insertion. |
|
Insert vector into object. No range checking performed (fast!). Make sure you use SetNumberOfVectors() to allocate memory prior to using SetVector(). |