[vtkusers] VTK6.0 label size problem of vtkScalarBarActor

Bill Lorensen bill.lorensen at gmail.com
Tue Jun 25 16:35:01 EDT 2013


I'm sorry. I think you missed my point. If you provide a complete,
cut-able, compilable and runnable example that illustrates your problem,
then it makes it easy for us to reproduce and possibly solve your problem.



On Tue, Jun 25, 2013 at 4:27 PM, chasank <chasank at gmail.com> wrote:

> Include files;
>
> #include <iostream>
> #include <sstream>
>
> #include <itkImage.h>
> #include <itkImageFileReader.h>
> #include <itkNiftiImageIO.h>
> #include <itkImageToVTKImageFilter.h>
>
> #include <vtkImageData.h>
> #include <vtkSmartPointer.h>
> #include <vtkLookupTable.h>
> #include <vtkScalarBarActor.h>
> #include <vtkRenderer.h>
> #include <vtkRenderWindow.h>
> #include <vtkRenderWindowInteractor.h>
> #include <vtkInteractorStyleImage.h>
> #include <vtkImageResliceMapper.h>
> #include <vtkImageProperty.h>
> #include <vtkMatrix4x4.h>
> #include <vtkImageSlice.h>
> #include <vtkCamera.h>
> #include <vtkCommand.h>
> #include <vtkTextProperty.h>
>
> The grayscale file is a binary file for lookup table. It is not important,
> lookup table is built is identical with;
>
> table = vtkSmartPointer< vtkLookupTable >::New();
> table->SetValueRange(0.0, 1.0);
> table->SetRampToLinear();
> table->SetScaleToLinear();
> table->Build();
>
>
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/VTK6-0-label-size-problem-of-vtkScalarBarActor-tp5721585p5721602.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130625/76dfb34d/attachment.htm>


More information about the vtkusers mailing list