<div class="gmail_quote">On Mon, Mar 15, 2010 at 9:18 AM, Sebastian Gatzka <span dir="ltr"><<a href="mailto:sebastian.gatzka@stud.tu-darmstadt.de">sebastian.gatzka@stud.tu-darmstadt.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Check.
Everything is allready there.<br>
<br>
In main:<br>
<br>
<font face="Courier New, Courier, monospace">KeyPressInteractorStyle
*kpis = KeyPressInteractorStyle::New();<br>
kpis->planeWidget = iPlane;</font><br>
<br>
while <font face="Courier New, Courier, monospace">iPlane </font>is
the interactivePlaneWidget2.<br>
<br>
And the <font face="Courier New, Courier, monospace">class </font>looks
like the one below, but still the line<br>
<br>
</font></font><font size="-1"><font face="Helvetica, Arial, sans-serif"><font face="Courier New, Courier, monospace">vtkImplicitPlaneRepresentation*
rep = <font color="#ff0000"><b>planeWidget</b></font>->GetRepresentation();<br>
<br>
<font face="Helvetica, Arial, sans-serif">can't be interpreted: <br>
<br>
</font>error C2440: 'initializing' : cannot convert from
'vtkWidgetRepresentation *' to 'vtkImplicitPlaneRepresentation *'<br>
</font></font></font></div><div bgcolor="#ffffff" text="#000000"><font size="-1"><font face="Helvetica, Arial, sans-serif"><font face="Courier New, Courier, monospace"><br></font></font></font></div></blockquote><div class="gmail_quote">
<br></div>That looks like you'd need to do:</div><div class="gmail_quote"><br></div><div class="gmail_quote"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; ">vtkImplicitPlaneRepresentation* rep = static_cast<vtkImplicitPlaneRepresentation*>(<font color="#ff0000"><b>planeWidget</b></font>->GetRepresentation());</span></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote"><font class="Apple-style-span" face="'Courier New', Courier, monospace"><br clear="all"></font>Thanks,<br><br>David</div>