<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">What I am trying to do is add a
string Id as a private member to a vtkImageActor. I have a scenario
where I am inserting multiple vtkImageActors into a renderer... and I
want to selectively enable and disable them. The only way I can forsee
doing that is if each image actor had an ID. That way I can iterate
through the actors, find the one with the ID I am looking for, then
enable it.<br>
<br>
Is there a better way to do this? If not how can I add the ID field to
an image actor?<br>
<br>
I hope this clears things up<br>
<br>
- John<br>
</font></font><br>
Mathieu Malaterre wrote:
<blockquote
cite="mid:bf0c3b3f0903060747wb1720dfv8e34df7ca4e93d11@mail.gmail.com"
type="cite">
<pre wrap="">On Fri, Mar 6, 2009 at 4:39 PM, John Eke <a class="moz-txt-link-rfc2396E" href="mailto:johne@annidis.com"><johne@annidis.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Guys,
Whats the easiest way to get a vtkImageActor with an ID field? I tried
inheritance, didn't work (maybe I didn't do it right). I tried creating a
replica of vtkImageActor, and renaming it to something else. But with this,
the New() method returns NULL
</pre>
</blockquote>
<pre wrap=""><!---->
I did not quite followed what you are trying to do, but you understand
that vtkImageActor::New() returns a vtkOpenGLImageActor ?
2cts
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
INFORMAL COMMUNICATION - The statements within this email and attachments if any, may be founded on partial knowledge, incorrect information, or incomplete understanding of the issues and should not be accorded the probity or status of a formal evidentiary deposition.
CONFIDENTIALITY STATEMENT - This e-mail and attachments if any, may contain confidential or privileged information. If you are not the intended recipient, please delete it, notify me immediately by reply e-mail, and be advised that you are not permitted to read, use, disclose, copy, or distribute it or its contents.
</pre>
</body>
</html>