<!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="Helvetica, Arial, sans-serif">Good news!
Worked!<br>
<br>
How do I had to know this?!?<br>
<br>
Thanks!<br>
</font></font><br>
Am 15.03.2010 14:21, schrieb David Doria:
<blockquote
cite="mid:c19fcadc1003150621j7fca84f7x2c36daa31b682e1b@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Mon, Mar 15, 2010 at 9:18 AM, Sebastian
Gatzka <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:sebastian.gatzka@stud.tu-darmstadt.de">sebastian.gatzka@stud.tu-darmstadt.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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=ISO-8859-1">
<div class="gmail_quote"><font class="Apple-style-span"
face="'Courier New', Courier, monospace"><br clear="all">
</font>Thanks,<br>
<br>
David</div>
</blockquote>
</body>
</html>