#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.
Definition at line 62 of file vtkNormals.h.
|
|
|
Definition at line 130 of file vtkNormals.h. |
|
Definition at line 131 of file vtkNormals.h. |
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkFloatNormals. 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 a copy of this object. Reimplemented from vtkAttributeData. Definition at line 72 of file vtkNormals.h. |
|
Return number of normals in array. Definition at line 76 of file vtkNormals.h. |
|
Return a pointer to a float normal n[3] for a specific id. Definition at line 80 of file vtkNormals.h. |
|
Copy normal components into user provided array n[3] for specified id. Definition at line 85 of file vtkNormals.h. |
|
Definition at line 87 of file vtkNormals.h. |
|
Insert normal into object. No range checking performed (fast!). Make sure you use SetNumberOfNormals() to allocate memory prior to using SetNormal(). Definition at line 93 of file vtkNormals.h. |
|
Definition at line 95 of file vtkNormals.h. |
|
Definition at line 143 of file vtkNormals.h. |
|
Insert normal into object. Range checking performed and memory allocated as necessary. Definition at line 101 of file vtkNormals.h. |
|
Definition at line 103 of file vtkNormals.h. |
|
Definition at line 152 of file vtkNormals.h. |
|
Insert normal into next available slot. Returns id of slot. Definition at line 108 of file vtkNormals.h. |
|
Definition at line 110 of file vtkNormals.h. |
|
Definition at line 162 of file vtkNormals.h. |
|
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. Definition at line 137 of file vtkNormals.h. |
|
Given a list of pt ids, return an array of normals. |
|
For legacy compatibility. Do not use. Definition at line 124 of file vtkNormals.h. |
|
Definition at line 132 of file vtkNormals.h. |