[vtkusers] Representing Points in 3D

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Thu Apr 4 00:22:37 EST 2002


>>>>> "CM" == Christof Mueller <mueller at cg.nrcan.gc.ca> writes:

    CM> I've been trying to represent a number of points in space, but
    CM> without success:

    CM> I tried to use vtkAssembly to represent each point by a
    CM> sphere:

[snip]

    CM> I assume that I would have to represent each point by it's own
    CM> actor.  There must be a simpler way to do this ...

Yes, if you are using the assembly you need to create multiple actors
and append them.  A possibly simpler way to do it might be to use the
vtkGlyph3D class.  There are many examples that use this class in both
VTK 3.2 and 4.x.  Take a look and read the class docs.

prabhu





More information about the vtkusers mailing list