[vtkusers] help displaying a set of points

wind wind at climate.gsfc.nasa.gov
Thu Feb 22 07:58:16 EST 2007


I did that and still nothing.

On Feb 21, 2007, at 8:34 PM, Michael Rice wrote:

> You probably need to set the Actor properties to display as points:
>
> actor->GetPropery()->SetRepresentationToPoints()
>
> If you've assigned scalars, then you need to turn those on too:
>
> mapper->ScalarVisibilityOn()
>
> Michael
>
> On Feb 21, 2007, at 2:17 PM, wind wrote:
>
>> Hello,
>>
>> I have a dataset that consists of XYZ point coordinates and one  
>> scalar at each point. I want to display the points as individual  
>> points, not a surface, not a wireframe, nothing. The points are  
>> not related to each other, so I don't want to do anything to  
>> connect them explicitly. I've tried just about every combination  
>> of vtkUnstructuredGrid, vtkDataSetMapper and what not and I still  
>> end up with a blank screen. I know the data is there and read in  
>> correctly. I have the vtkPoints object and the vtkFloatArray for  
>> scalars.
>>
>> Thanks,
>>
>> -- Gala
>>
>> Gala Wind
>> (301) 614-6221
>> wind at climate.gsfc.nasa.gov
>> Code 613.2, Climate and Radiation
>> SSAI, Inc.
>> NASA/GSFC
>> Greenbelt, MD 20771
>>
>> / 
>> *--------------------------------------------------------------------
>>   -- There's always a way, you just have to find it.
>>             ( B. Hambly "Children of the Jedi" )
>> --------------------------------------------------------------------- 
>> -*/
>>
>>
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at: http:// 
>> www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>
>

Gala Wind
(301) 614-6221
wind at climate.gsfc.nasa.gov
Code 613.2, Climate and Radiation
SSAI, Inc.
NASA/GSFC
Greenbelt, MD 20771

/*--------------------------------------------------------------------
   -- There's always a way, you just have to find it.
             ( B. Hambly "Children of the Jedi" )
----------------------------------------------------------------------*/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070222/f408d9a1/attachment.htm>


More information about the vtkusers mailing list