scaling in the image pipeline

Brian Alexander Todd bat5 at po.cwru.edu
Sun Aug 1 20:34:20 EDT 1999


I am using vtkTkImageViewer to view an elevation map.
I want the image size to be independent of the number 
of pixels in my image data.  I can't seem to apply the
usual vtkTransform to scale the actor however.  Seems 
that this is because the image viewer uses the 2D variant
which doesn't accept vtkTransform.

The "SetSize" method for the image viewer changes only the
size of the background not the size spanned by the image
data.  Could some one tell me how to do this?

Thanks,
Brian Todd
           _____________________________________________________
  ________|                                                     |________
  \       |   Brian Todd                email: bat5 at po.cwru.edu |       /
   \      |   N.O.B.L.                 office: (216) 791-2407   |      /
    \     |   C.W.R.U.                   home: (216) 368-4209   |     /
    /     |   Cleveland, OH 44106         fax: (216) 368-4969   |     \
   /      |_____________________________________________________|      \
  /___________)                                              (__________\


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list