#include <vtkNormals.h>
Inheritance diagram for vtkNormals:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkAttributeData * | MakeObject () |
int | GetNumberOfNormals () |
float * | GetNormal (int id) |
void | GetNormal (int id, float n[3]) |
void | GetNormal (int id, double n[3]) |
void | SetNormal (int id, const float n[3]) |
void | SetNormal (int id, const double n[3]) |
void | SetNormal (int id, double nx, double ny, double nz) |
void | InsertNormal (int id, const double n[3]) |
void | InsertNormal (int id, float n[3]) |
void | InsertNormal (int id, double nx, double ny, double nz) |
int | InsertNextNormal (const float n[3]) |
int | InsertNextNormal (const double n[3]) |
int | InsertNextNormal (double nx, double ny, double nz) |
void | SetNumberOfNormals (int number) |
void | GetNormals (vtkIdList *ptId, vtkNormals *fn) |
void | GetNormals (vtkIdList &ptId, vtkNormals &fn) |
Static Public Methods | |
vtkNormals * | New (int dataType) |
vtkNormals * | New () |
int | IsTypeOf (const char *type) |
vtkNormals * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkNormals () | |
~vtkNormals () | |
vtkNormals (const vtkNormals &) | |
void | operator= (const vtkNormals &) |
vtkNormals represents 3D normals. The data model for vtkNormals is an array of nx-ny-nz triplets accessible by (point or cell) id. Each normal is assumed to have magnitude |n| = 1.
|
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. |
|
Copy normal components into user provided array n[3] for specified id. |
|
Return a pointer to a float normal n[3] for a specific id. |
|
For legacy compatibility. Do not use. |
|
Given a list of pt ids, return an array of normals. |
|
Return number of normals in array. |
|
Insert normal into next available slot. Returns id of slot. |
|
Insert normal 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 a copy of this object. Implements vtkAttributeData. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkFloatNormals. |
|
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. |
|
Insert normal into object. No range checking performed (fast!). Make sure you use SetNumberOfNormals() to allocate memory prior to using SetNormal(). |
|
Specify the number of normals for this object to hold. Does an allocation as well as setting the MaxId ivar. Used in conjunction with SetNormal() method for fast insertion. |