vtkNormals - represent and manipulate 3D normals
Super Class: vtkAttributeData
Description:
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.
Methods:
![]() | void vtkNormals (int ) |
![]() | static vtkNormals *New (int ) |
![]() | const char *GetClassName () |
![]() | void PrintSelf (unknown & ,vtkIndent ) |
![]() | vtkAttributeData *MakeObject () |
![]() | int GetNumberOfNormals () |
![]() | float *GetNormal (int ) |
![]() | void GetNormal (int ,float ) |
![]() | void SetNormal (int ,float ) |
![]() | void InsertNormal (int ,float ) |
![]() | int InsertNextNormal (float ) |
![]() | void SetNumberOfNormals (int ) |
![]() | void InsertNormal (int ,float ,float ,float ) |
![]() | int InsertNextNormal (float ,float ,float ) |
![]() | void GetNormals (vtkIdList * ,vtkNormals *) |
![]() | void GetNormals (vtkIdList & ,vtkNormals &) |
Detailed Method Descriptions:
Create a copy of this object.
![]() | vtkAttributeData *MakeObject () |
Return number of normals in array.
![]() | int GetNumberOfNormals () |
Return a pointer to a float normal n[3] for a specific id.
![]() | float *GetNormal (int ) |
Copy normal components into user provided array n[3] for specified id.
![]() | void GetNormal (int ,float ) |
Insert normal into object. No range checking performed (fast!). Make sure you use SetNumberOfNormals() to allocate memory prior to using SetNormal().
![]() | void SetNormal (int ,float ) |
Insert normal into object. Range checking performed and memory allocated as necessary.
![]() | void InsertNormal (int ,float ) |
Insert normal into next available slot. Returns id of slot.
![]() | int InsertNextNormal (float ) |
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.
![]() | void SetNumberOfNormals (int ) |
Insert normal into position indicated.
![]() | void InsertNormal (int ,float ,float ,float ) |
Insert normal at end of array and return its location (id) in the array.
![]() | int InsertNextNormal (float ,float ,float ) |
Given a list of pt ids, return an array of normals.
![]() | void GetNormals (vtkIdList * ,vtkNormals *) |