<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoHeader, li.MsoHeader, div.MsoHeader
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Arial;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.StyleArial12pt
        {font-family:Arial;}
p.Heading2Arial, li.Heading2Arial, div.Heading2Arial
        {margin:0in;
        margin-bottom:.0001pt;
        text-indent:0in;
        mso-list:l1 level3 lfo3;
        font-size:12.0pt;
        font-family:Arial;}
p.Heading1Arial, li.Heading1Arial, div.Heading1Arial
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Arial;}
p.heading2arial0, li.heading2arial0, div.heading2arial0
        {margin:0in;
        margin-bottom:.0001pt;
        text-indent:0in;
        mso-list:l0 level3 lfo5;
        font-size:12.0pt;
        font-family:Arial;}
p.heading1arial0, li.heading1arial0, div.heading1arial0
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Arial;}
span.stylearial12pt0
        {font-family:Arial;}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle26
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:111287507;
        mso-list-template-ids:604935458;}
@list l0:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:665204612;
        mso-list-template-ids:-859418004;}
@list l1:level1
        {mso-level-suffix:space;
        mso-level-text:"%1\.0";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:12.0pt;
        font-family:Arial;
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level2
        {mso-level-suffix:space;
        mso-level-text:"%1\.%2\.1";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:12.0pt;
        font-family:Arial;
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level3
        {mso-level-style-link:"Heading 2 Arial";
        mso-level-suffix:space;
        mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:12.0pt;
        font-family:Arial;
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level4
        {mso-level-reset-level:level1;
        mso-level-suffix:space;
        mso-level-text:"%1\.%2\.%3\.%4\.";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;
        mso-ansi-font-size:12.0pt;
        font-family:Arial;
        mso-bidi-font-family:"Times New Roman";
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l1:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.";
        mso-level-tab-stop:1.75in;
        mso-level-number-position:left;
        margin-left:1.55in;
        text-indent:-.55in;}
@list l1:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.";
        mso-level-tab-stop:2.25in;
        mso-level-number-position:left;
        margin-left:1.9in;
        text-indent:-.65in;}
@list l1:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.";
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        margin-left:2.25in;
        text-indent:-.75in;}
@list l1:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.";
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        margin-left:2.6in;
        text-indent:-.85in;}
@list l1:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9\.";
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        margin-left:3.0in;
        text-indent:-1.0in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi Regat,<br>
<br>
</span></font><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The version of vtkSmartPtr.h appears to be
the same as the vtk 4.2 release. How do I get the version that contains </span></font>the
static method vtkSmartPointer new().<o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I see it at this link. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><a
href="http://www.vtk.org/doc/nightly/html/classvtkSmartPointer.html"
title="http://www.vtk.org/doc/nightly/html/classvtkSmartPointer.html"><font
face="Times New Roman"><span style='font-family:"Times New Roman"'>http://www.vtk.org/doc/nightly/html/classvtkSmartPointer.html</span></font></a><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I am not setup with CVS access to the nightly build yet. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> <st1:PersonName
w:st="on">Robert Oaks</st1:PersonName> [mailto:robert.oaks@dfrc.nasa.gov] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, September 09, 2004
9:10 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Harlow
Eric D Contr 412 TW/ENR</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [vtkusers] using
vtkSmartPtrs</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Eric,</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>I guess this is not in 4.2 verision but in
4.4 version. I have downloaded and in the process of</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>building this verison.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>RO</span></font><o:p></o:p></p>
</div>
<blockquote style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> <st1:PersonName w:st="on">Harlow
Eric D Contr 412 TW/ENR</st1:PersonName> [mailto:Eric.Harlow@edwards.af.mil]<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, September 03, 2004
3:10 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Robert
Oaks</st1:PersonName><br>
<b><span style='font-weight:bold'>Cc:</span></b> <st1:PersonName w:st="on">Robert
Oaks</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> FW: [vtkusers] using
vtkSmartPtrs<br>
<b><span style='font-weight:bold'>Importance:</span></b> High</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> REGAT-BARREL
Aurélien [mailto:arbvtk@yahoo.fr] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, August 25, 2004
4:49 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Harlow
Eric D Contr 412 TW/ENR</st1:PersonName>; vtkusers@vtk.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [vtkusers] using
vtkSmartPtrs</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi,<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>You should use the static method vtkSmartPointer::New to initialize
your smartptr.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>vtkSmartPtr RenderWindow_ = vtkSmartPtr::New();<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><a href="http://www.vtk.org/pipermail/vtkusers/2004-April/073551.html"><OPENGLRENDERWINDOW>http://www.vtk.org/pipermail/vtkusers/2004-April/073551.html</a><br>
<br>
<st1:PersonName w:st="on"><b><i><span style='font-weight:bold;font-style:italic'>Harlow
Eric D Contr 412 TW/ENR</span></i></b></st1:PersonName><b><i><span
style='font-weight:bold;font-style:italic'> <Eric.Harlow@edwards.af.mil></span></i></b>
wrote: <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
1. How common is it to wrap vtk objects in vtkSmartPtrs? This is causing a<br>
memory leak in our code.<br>
<br>
vtkSmartPtr<OPENGLRENDERWINDOW> RenderWindow_; <br>
<br>
<br>
2. We are placing all of the VTK functions in our VTK Application in a C++<br>
dll library so that the end user doesn't have to be vtk expert. Are there<br>
some VTK developers out there that have had success in wrapping the VTK<br>
member functions/objects in a C++ MFC dll? It was easy enough when we were<br>
building our test Application by calling the vtk functions either from the<br>
MFC ViewClass or classes in the Application project space. <br>
<br>
Thanks<br>
<br>
-Eric<br>
_______________________________________________<br>
This is the private VTK discussion list. <br>
Please keep messages on-topic. Check the FAQ at: <br>
<HTTP: public.kitware.com cgi-bin vtkfaq>Follow this link to
subscribe/unsubscribe:<br>
http://www.vtk.org/mailman/listinfo/vtkusers<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Aurélien REGAT-BARREL <br>
My VTK blog : <a href="http://aurelien_regat-barrel.blogspot.com/">http://aurelien_regat-barrel.blogspot.com</a><o:p></o:p></span></font></p>
</div>
</div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=1 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Créez gratuitement votre Yahoo! Mail avec <b><font color=red><span
style='color:red;font-weight:bold'>100 Mo de stockage !</span></font></b> <br>
<a
href="http://fr.rd.yahoo.com/mail/taglines/*http:/fr.rd.yahoo.com/evt=25917/*http:/fr.rd.yahoo.com/mail/mail_taglines_100/default/*http:/fr.benefits.yahoo.com/">Créez
votre Yahoo! Mail</a><br>
<br>
<b><font color=red><span style='color:red;font-weight:bold'>Le nouveau Yahoo!
Messenger est arrivé !</span></font></b> Découvrez toutes les nouveautés pour
dialoguer instantanément avec vos amis. <a
href="http://fr.rd.yahoo.com/mail/taglines/*http:/fr.rd.yahoo.com/evt=26111/*http:/fr.rd.yahoo.com/messenger/mail_taglines/default/*http:/fr.messenger.yahoo.com">Téléchargez
GRATUITEMENT ici !</a><o:p></o:p></span></font></p>
</blockquote>
</div>
</body>
</html>