<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
Thanks but, you sent me 4 vtk files with polydata dataobjects and 1 .exe.<br>
<br>
My problem is that I cannot draw a 2D image (vtkImageData object) in a vtkRenderWindow<br>
with a given window size (i.e.: 64x64 pixels)<br>
<br>
Sergio.<br>
<br>
<br>
Toth Istvan escribi&oacute;:<br>
<blockquote type="cite" cite="mid008601c47437$3e1874f0$085a1e0a@Istvan">
  <title></title>
  
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
 
  <meta content="MSHTML 6.00.2800.1400" name="GENERATOR">
 
  <style></style>  
  <div>vtkImageData object is for bmp,jpg an so an...</div>
 
  <div>Take a look to this example..I attached it..to you</div>
 
  <div>&nbsp;</div>
 
  <blockquote
 style="border-left: 2px solid rgb(0,0,0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"> 
  
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none;">-----
Original Message ----- </div>
   
    <div
 style="background: rgb(228,228,228) none repeat scroll 0%; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none;"><b>From:</b>
   <a title="sergio@unizar.es" href="mailto:sergio@unizar.es">Sergio Andres</a>
   </div>
   
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none;"><b>To:</b>
    <a title="istvan@dmmd.net" href="mailto:istvan@dmmd.net">Toth Istvan</a>
; <a title="vtkusers@vtk.org" href="mailto:vtkusers@vtk.org">vtkusers</a>
    </div>
   
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none;"><b>Sent:</b>
Tuesday, July 27, 2004 6:52  AM</div>
   
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none;"><b>Subject:</b>
Re: [vtkusers] How to draw an    image with fixed size??</div>
   
    <div><br>
    </div>
a vtkImageData object<br>
    <br>
Toth Istvan escribi&oacute;:<br>
   
    <blockquote cite="mid001601c4742a$7f779b90$085a1e0a@Istvan"
 type="cite">
      <pre wrap="">What kind of vtk is it??Polydata PointStruct Grid...??

----- Original Message ----- 
From: "Sergio Andres" <a class="moz-txt-link-rfc2396E"
 href="mailto:sergio@unizar.es%3E">&lt;sergio@unizar.es&gt;</a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:vtkusers@vtk.org%3E">&lt;vtkusers@vtk.org&gt;</a>
Sent: Tuesday, July 27, 2004 4:52 AM
Subject: [vtkusers] How to draw an image with fixed size??


  </pre>
     
      <blockquote type="cite">
        <pre wrap="">Hi all,

I would like to draw a vkt Image in a vtkRenderWindow with a give size
(for instance, 64x64).
I have been working with vtkImageViewer, which renders a given image.
But I do not know
how to draw the given image (whole image) when the size of
vtkImageViewer (vtkRenderWindow)
is lower than the image size.

My purpose is to draw any image in a 64 x 64 window.

Does anyone know how to do it?

Thanks !!
Sergio

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
    </pre>
      </blockquote>
      <pre wrap=""><!----><a class="moz-txt-link-rfc2396E"
 href="http://public.kitware.com/cgi-bin/vtkfaq">&lt;http://public.kitware.com/cgi-bin/vtkfaq&gt;</a>
  </pre>
     
      <blockquote type="cite">
        <pre wrap="">Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext"
 href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>



    </pre>
      </blockquote>
      <pre wrap=""><!---->


  </pre>
    </blockquote>
    <br>
  </blockquote>
</blockquote>
<br>
</body>
</html>