DiscussionsIssue archiveOther usage issues

Archived discussion

How to hide an AIS_InteractiveObject instance inside an interactive context?

Other usage issuesFri, 06/25/2004 - 18:531 reply

Browse this forum
QuestionAuthor

Hi,

I have nothing to add to the question in the subject, apart from how to show the object later (hide/show).

Thanks.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Hi,

I would put it in a tmp-object and remove it from the context. On redisplaying it just put the tmp-Object back to the
AIS_InteractiveContext.

Hide:

- User selects Object to hide
- AIS_InteractiveObject tmp(selected)
- myAISContext->Remove(tmp)

Show:
myAISContext->Display(tmp)