How to display vertices only as simple 3D-points?

Miller, James V (CRD) millerjv at crd.ge.com
Wed Aug 18 11:35:47 EDT 1999


I am guessing the "Source" to vtkGlyph3D is a vtkSphereSource.  If you change it to be a
vtkPointSource, the scene should render as points.  You can also set the point size in the renderer
(or maybe the renderwindow).

Jim

-----Original Message-----
From: Mirco Mueller [mailto:mirco at pool.informatik.rwth-aachen.de]
Sent: Wednesday, August 18, 1999 10:11 AM
To: VTK-Users
Subject: Q: How to display vertices only as simple 3D-points?


Greetings VTK-gurus!

    I am _very_ new to vtk (-> version 2.0) and I would like to figure
out how to display a set of about 3000 3D-points just as simple
points... a la OpenGL GL_POINTS. All I managed to accomplish sofar, was
to alter the fly.cxx demo to display the points. But in this demo the
sample points are rendered as spheres. This is way to much geometrical
data rendered.

    I read in the points with vtkPoints()->InsertNextPoint. But which
class do I have to use to make my vtkActor() render itself only as a set
of simple 3D-points?

Thanks in advance for Your time and kind advice!

Ciao...

Mirco



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list