[vtk-developers] Limit output of VTK wrappers

Andy Cedilnik andy.cedilnik at kitware.com
Thu Jan 6 09:35:48 EST 2005


Hi All,

Working on VTK wrappers, I reduced the amount of output they produce. I
removed all those "Converted operator" and "Parsed func" statements and
replaced them with a conditional output. The output is by default
disabled, but if you want to see the output, you can set an environment
variable DEBUG.

The result is that the output looks like this:

Building Tcl Wrappings /home/andy/vtk/VTK-gcc3/Common/vtkVersionTcl.cxx...
Building Tcl Wrappings /home/andy/vtk/VTK-gcc3/Common/vtkVoidArrayTcl.cxx...
Building Tcl Wrappings
/home/andy/vtk/VTK-gcc3/Common/vtkWarpTransformTcl.cxx...
Building Tcl Wrappings /home/andy/vtk/VTK-gcc3/Common/vtkWindowTcl.cxx...

Instead of:

Building Tcl Wrappings /home/andy/vtk/VTK-gcc3/Common/vtkWindowTcl.cxx...
   Parsed func PrintSelf
   Parsed func SetDisplayId
   Parsed func SetWindowId
   Parsed func SetParentId
   Parsed func GetGenericDisplayId
   Parsed func GetGenericWindowId
   Parsed func GetGenericParentId
   Parsed func GetGenericContext
   Parsed func GetGenericDrawable
   Parsed func SetWindowInfo
   Parsed func SetParentInfo
   Parsed func GetPosition
   Parsed func SetPosition
   Parsed func SetPosition
   Parsed func GetSize
   Parsed func SetSize
   Parsed func SetSize
   Parsed func GetScreenSize
   Parsed func SetWindowName
   Parsed func Render
   Parsed func GetPixelData
   Parsed func GetPixelData
   Parsed func MakeCurrent
   Parsed func SetTileScale
   Parsed func vtkWindow
   Parsed func vtkWindow
   Parsed func vtkWindow
   Converted operator
Building Tcl Wrappings
/home/andy/vtk/VTK-gcc3/Common/vtkWindowLevelLookupTableTcl.cxx...
   Parsed func New
   Parsed func PrintSelf
   Parsed func Build
   Parsed func SetWindow
   Parsed func SetLevel
   Parsed func SetInverseVideo
   Parsed func SetMinimumColor
   Parsed func SetMinimumColor
   Parsed func GetMinimumColor
   Parsed func GetMinimumColor
   Parsed func SetMaximumColor
   Parsed func SetMaximumColor
   Parsed func GetMaximumColor
   Parsed func GetMaximumColor
   Parsed func vtkWindowLevelLookupTable
   Parsed func vtkWindowLevelLookupTable
   Parsed func vtkWindowLevelLookupTable
   Converted operator

To see the second output you can run make the following way:

DEBUG=1 make

So, there is no functional backward compatibility issue, except that
there is a little less build output.

-- 
Andy Cedilnik
Kitware Inc.




More information about the vtk-developers mailing list