[vtkusers] How to display with normals using vtkUnstructuredGrid

Ted Christiansen ted at caept.com
Sat May 25 14:59:33 EDT 2002


Hello,

How do I display an object with normals using this combination of vtk
objects.

Thanks,

Ted

 m_vtkPoints->Allocate(m_nodes.GetSize());
 m_vtkUgrid->Allocate(m_faces.GetSize());
 m_vtkUgrid->SetPoints(m_vtkPoints);
 m_vtkUgridMapper->SetInput(m_vtkUgrid);
 m_vtkShadedActor->SetMapper(m_vtkUgridMapper);
 pDoc->Props->AddItem(m_vtkShadedActor);






More information about the vtkusers mailing list