> 1) Do I have to use the updataData method if I use the setCoordinate, >
setCoordinates, setColor, setColors, ... methods ?
You don't have to use updateData() if you use setCoordinate(), setColor() etc.
updateData() method ensures that the coordinate change and color change happens as
one atomic operation. Using the individual method does not gurantee this.
> 2) use by reference:
> It is possible that several GeometryArray objects share a single
> reference array.
> I suppose that the updateData method must be called for every
> GeometryArray object, am I right ?
> But all this objects share the same reference array so I can change it
> only once. So how do I do changes in this case ?
> What actions must be done in the GeometryUpdater class ?
while the API allows sharing of reference data by several GeometryArray, this is not
recommended and should not be done. We recommend that you share GeometryArray object
and not the reference data themselves.
-Uma
Java3D Team
> X-Warning: VM230.AKH-WIEN.AC.AT: Host LYMNAEA.imc.akh-wien.ac.at claimed to be
akh-wien.ac.at
> X-Accept-Language: de
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Date: Fri, 10 Nov 2000 15:00:26 +0100
> From: "Dipl. Ing. Paul Szawlowski" <[EMAIL PROTECTED]>
> Subject: [JAVA3D] updating geometry using by reference again
> To: [EMAIL PROTECTED]
>
> Hi again !
> C'mon, I'm sure one of you can answer this question (this is my 3rd try)
> at least the engineers from sun.
> Or are this questions too simple ? (But there have been answers to much
> simpler questions on this list).
>
> 1) Do I have to use the updataData method if I use the setCoordinate,
> setCoordinates, setColor, setColors, ... methods ?
>
> 2) use by reference:
> It is possible that several GeometryArray objects share a single
> reference array.
> I suppose that the updateData method must be called for every
> GeometryArray object, am I right ?
> But all this objects share the same reference array so I can change it
> only once. So how do I do changes in this case ?
> What actions must be done in the GeometryUpdater class ?
>
> Sorry, but for me the documentation of this is confusing.
>
> Thanks for your help in advance.
>
> Paul
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".