Well, my problem is : Although I had already set this
capabilities(ALLOW_DETACH and ALLOW_CHILDREN_WRITE), I
try to remove a TransformGroup but it doesn't work.
I read in
http://www.manning-sandbox.com/thread.jspa?threadID=6579&tstart=120
that only BranchGroups can be atached dinamically.
Maybe, only BranchGroups can be detached too.

Someone could answer this question?
Thanks, melina.
--- romil shah <[EMAIL PROTECTED]> wrote:

> Hi Mike,
>
> Thanks for the help. But that didnt quite answer my
> question.
> I know that by setting the appropiate capability
> bits
> we can delete/add BranchGroups at runtime.
> I had problems with the memory deallocation.
> I read through the archives and the suggestion was
> to
> "getAllChildren" and assign them to NULL, thus
> invoking the GC.
> This approcah is not possible to implement in my
> system architecture.
>
> Hope somebody from this group can guide me.
>
> Thanks,
>
> Romil.
>
>
>
> --- Mike Pilone <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> >
> > It is possible to remove branch groups at runtime.
> > The branch group being
> > removed must have the ALLOW_DETACH capability set.
> > Also, the parent group
> > must have ALLOW_CHILDREN_WRITE capability set.
> >
> > As for removeChild vs detach, I have not looked at
> > the code, but I believe
> > removeChild will call detach on the child you are
> > attempting to remove.
> >
> > I hope that helps,
> > -mike
> >
> >
> > -----Original Message-----
> > From: Discussion list for Java 3D API
> > [mailto:[EMAIL PROTECTED]
> > On Behalf Of Melina Alberio
> > Sent: Thursday, August 26, 2004 7:58 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JAVA3D] RemoveChild vs Detach
> >
> > I'm having the same problem.
> > Someone help us.
> >
> > --- romil shah <[EMAIL PROTECTED]> wrote:
> >
> > > Hi all,
> > >
> > > I am writting an application which requires me
> to
> > > refresh the screen very often. I tried using
> > > removeChild, but guess the memory was not
> > > deallocated
> > > and moreover I was getting a multiple parent
> > > exception.
> > > The only work around is Detach. Which is
> > documented
> > > to
> > > not deacllocate the memory.
> > >
> > > My question is ::
> > > * Is there a way to deallocate all the children
> of
> > a
> > > BranchGroup in runtime ?
> > > * What is the diffrence between RemoveChild and
> > > Detach
> > > ?
> > >
> > >
> > > Thanks in advance,
> > >
> > > Romil.
> > >
> > >
> > >
> > >
> > > _______________________________
> > > Do you Yahoo!?
> > > Win 1 of 4,000 free domain names from Yahoo!
> Enter
> > > now.
> > > http://promotions.yahoo.com/goldrush
> > >
> > >
> >
>
===========================================================================
> > > 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".
> > >
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - 100MB free storage!
> > http://promotions.yahoo.com/new_mail
> >
> >
>
===========================================================================
> > 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".
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
>
>
===========================================================================
> 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".
>




_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

===========================================================================
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".

Reply via email to