#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.
Definition at line 61 of file vtkVectors.h.
|
|
|
Definition at line 130 of file vtkVectors.h. |
|
Definition at line 131 of file vtkVectors.h. |
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkFloatVectors. Referenced by MakeObject().
|
|
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 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. |
|
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. |
|
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. |
|
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. |
|
Create the same type object as this (virtual constructor). Reimplemented from vtkAttributeData. Definition at line 71 of file vtkVectors.h. |
|
Return number of vectors in array. Definition at line 75 of file vtkVectors.h. |
|
Return a pointer to a float vector v[3] for a specific id. Definition at line 78 of file vtkVectors.h. |
|
Copy vector components into user provided array v[3] for specified id. Definition at line 82 of file vtkVectors.h. |
|
Definition at line 83 of file vtkVectors.h. |
|
Insert vector into object. No range checking performed (fast!). Make sure you use SetNumberOfVectors() to allocate memory prior to using SetVector(). Definition at line 88 of file vtkVectors.h. |
|
Definition at line 89 of file vtkVectors.h. |
|
Definition at line 146 of file vtkVectors.h. |
|
Insert vector into object. Range checking performed and memory allocated as necessary. Definition at line 94 of file vtkVectors.h. |
|
Definition at line 96 of file vtkVectors.h. |
|
Definition at line 155 of file vtkVectors.h. |
|
Insert vector into next available slot. Returns id of slot. Definition at line 101 of file vtkVectors.h. |
|
Definition at line 103 of file vtkVectors.h. |
|
Definition at line 165 of file vtkVectors.h. |
|
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. Definition at line 140 of file vtkVectors.h. |
|
Compute the largest norm for these vectors. |
|
Return the maximum norm for these vectors. |
|
Given a list of pt ids, return an array of vectors. |
|
For legacy compatibility. Do not use. Definition at line 123 of file vtkVectors.h. |
|
Definition at line 132 of file vtkVectors.h. |
|
Definition at line 134 of file vtkVectors.h. |
|
Definition at line 135 of file vtkVectors.h. |