[vtkusers] point cloud

David.Pont at ForestResearch.co.nz David.Pont at ForestResearch.co.nz
Mon Dec 1 14:57:46 EST 2003


Hi Luke,
- You could use vtkPolyData instead of vtkUnstructuredGrid, they are just
alternative ways of making a vtkDataSet, which is required if you want to
visualise your points. vtk is designed for generality rather than optimised
for specialised tasks, but you are free to make a class derived from
vtkMapper that takes vtkPoints rather than vtkDataSet if you think it is
useful. Making a vtkActor directly from vtkPoints does not look possible
with the class hierarchy.

- vtkGlyph3D to place an arbitrary polydata at each point. This can be a
big overhead for large point sets.
- Actor->GetProperty()->SetPointSize( POINT_SIZE ) where POINT_SIZE is some
value other than 1.0 to make bigger or smaller points (although their size
does not change if you zoom in/out).

   Dave P



|---------+---------------------------->
|         |           Luke J West      |
|         |           <ljw at soc.soton.ac|
|         |           .uk>             |
|         |           Sent by:         |
|         |           vtkusers-admin at vt|
|         |           k.org            |
|         |                            |
|         |                            |
|         |           01/12/2003 22:33 |
|         |                            |
|---------+---------------------------->
  >--------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                |
  |       To:       vtkusers at vtk.org                                                                                               |
  |       cc:                                                                                                                      |
  |       Subject:  [vtkusers] point cloud                                                                                         |
  >--------------------------------------------------------------------------------------------------------------------------------|




Hi,

I'd like to display a cloud of points.

The only way I can think of doing it is to make an vtkUnstructuredGrid
and to view an actor made from it with SetRepresentationToPoints().

but the grid is complete overkill - can't I make an actor out of vtkPoints
in
some way?

Or another way?

thanks,



Luke J West : Research Assistant : e-Science
--------------------------------------------
Rm. 566/12, School of Ocean & Earth Sciences
Southampton Oceanography Centre, Southampton
SO14 3ZH  United Kingdom
--------------------------------------------
Tel: +44 23 8059 4801  Fax: +44 23 8059 3052
Mob: +44 79 6107 4783

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <
http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers








More information about the vtkusers mailing list