<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-forward-container">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hi Kiran,<br>
      <br>
      There are some examples for vtk-MFC interface under the VTK source
      tree - src/Examples/GUI/Win32. You can look at them and write a
      custom VTK reader to read your buffer into MFC-Picture controls.<br>
      <br>
      HTH,<br>
      S.J.<br>
      <div class="moz-cite-prefix">On 11/06/2012 07:20 AM, Kiran Gachchi
        wrote:<br>
      </div>
      <blockquote
cite="mid:%3CF7474CA6E4B67B4EBD3DCFCFB009066D24C994EC03@CHN-HCLT-EVS16.HCLT.CORP.HCL.IN%3E"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        <meta name="Generator" content="Microsoft Word 14 (filtered
          medium)">
        <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div class="WordSection1">
          <p class="MsoNormal">Hi All,<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">I have a series of DICOM images (Slices)
            in a directory. I read all slices(pixel data only not the
            header data) one after the other and wrote in a single
            buffer continuously.<o:p></o:p></p>
          <p class="MsoNormal">Now I want to fetch pixels from this
            buffer and display images on MFC picture control one by one
            using VTK class.<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">How can I do that?<o:p></o:p></p>
          <p class="MsoNormal">Please help me.<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal"><span style="font-family:&quot;Times New
              Roman&quot;,&quot;serif&quot;">Regards,<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-family:&quot;Times New
              Roman&quot;,&quot;serif&quot;">Kiran<span
                style="color:#1F497D"> </span></span><span
              style="font-size:10.0pt;font-family:&quot;Times New
              Roman&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <span style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: gray;
          FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'">
          <p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><br>
            <br>
            <font style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: gray;
              FONT-SIZE: 9px">::DISCLAIMER::<br>
----------------------------------------------------------------------------------------------------------------------------------------------------</font></p>
          <p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font
              style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: gray;
              FONT-SIZE: 11px">The contents of this e-mail and any
              attachment(s) are confidential and intended for the named
              recipient(s) only.<br>
              E-mail transmission is not guaranteed to be secure or
              error-free as information could be intercepted, corrupted,
              <br>
              lost, destroyed, arrive late or incomplete, or may contain
              viruses in transmission. The e mail and its contents <br>
              (with or without referred errors) shall therefore not
              attach any liability on the originator or HCL or its
              affiliates. <br>
              Views or opinions, if any, presented in this email are
              solely those of the author and may not necessarily reflect
              the <br>
              views or opinions of HCL or its affiliates. Any form of
              reproduction, dissemination, copying, disclosure,
              modification, <br>
              distribution and / or publication of this message without
              the prior written consent of authorized representative of
              <br>
              HCL is strictly prohibited. If you have received this
              email in error please delete it and notify the sender
              immediately. <br>
              Before opening any email and/or attachments, please check
              them for viruses and other defects.</font></p>
          <p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font
              style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: gray;
              FONT-SIZE: 11px">----------------------------------------------------------------------------------------------------------------------------------------------------</font></p>
        </span></blockquote>
      <br>
      <br>
      <br>
      <br>
    </div>
    <br>
  </body>
</html>