[vtk-developers] proposed ENH to vtkImagePlaneWidget

Dean Inglis dean.inglis at on.aibn.com
Fri Aug 2 11:07:58 EDT 2002


Oops, no it doesn't: coffee hasn't kicked in yet.  Also,
 ivar 'GrayScaleEnabled' is completely unnecessary.  If
the following lines are added as the default in ::GenerateTexturePlane()

  this->ColorMap->SetOutputFormatToRGBA();
  this->ColorMap->PassAlphaToOutputOn();
  this->Texture->MapColorScalarsThroughLookupTableOn();

and no transparency is set in an external lut then 'normal'
behavior is maintained.  I've checked this in.


Dean

-----Original Message-----
From: Dean Inglis [mailto:dean.inglis at on.aibn.com]
Sent: August 2, 2002 10:14 AM
To: Vtk-Developers
Subject: RE: [vtk-developers] proposed ENH to vtkImagePlaneWidget


Hmmmm, strangely enough, transparency already works without any changes:

try this if you dare ... (in /Examples/GUI/Tcl/ImagePlaneWidget.tcl)

<snip>





More information about the vtk-developers mailing list