> Thanks a lot for your kind suggestions.
> This time i tried something like this to create a
> geometry. I used the RubberBandLineRendererJ3D class
> to get the intial and final points for the line, and
> from that i have constructed a Gridded2DSet and also
> the two end points are created as tuples and then
> added the references to the display. So, everytime a
> user drags on the display a line with 2 end points is
> formed.
>
> 1. Inspite of using the ConstantMaps while adding the
> references of the RealTuples, we are not able to
> increase the size of them. Is there any other way out?
> Please suggest.
Your point size logic works on my machine, so you are
probably running Java3D on top of Direct3D, which does
not support point size. You need to use OpenGL instead.
> 2. In the doAction() method we are creating the
> giddedsets and the real tuples and adding the
> references to the dispay but, in your previous mail
> you mentioned to add the references outside the
> doAction() method. We want to update the display with
> the user actions. To create arrays we need to give the
> array length initially and we do not know how many
> lines a user can generate to create the geometry. Is
> there any other way to give references outside and
> then update. Please suggest.
As the number of lines increases, you need to construct
new longer arrays to replace the old ones. Or use
java/util.Vector.
Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706
hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html