[vtkusers] GL2PSExporter

neok m4700 neok.m4700 at gmail.com
Wed Oct 5 14:27:46 EDT 2016


Hi,

I have some trouble with the test provided with the vtk sources.

Take this one:
vtk/IO/Export/Testing/Cxx/TestGL2PSExporterRaster.cxx

I have attached the exported pdf.gz file, the screenshot of the window
appearing on my screen and the source files used to build the example.

What I can see is that the position of the vector data (text) is correct,
but the rasterized cone is not (we only see the upper left hand corner of
the cone on the .ps file).

I've had the same experience with the python wrapping (cone.{py,pdf.gz,png}
attached).
Same is happening for eps, ps, compressed or not.

Does anyone have a clue on how to fix this ?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161005/34559ac7/attachment.html>
-------------- next part --------------
cmake_minimum_required(VERSION 2.8)
 
PROJECT(TestGL2PSExporterRaster)
 
find_package(VTK REQUIRED)
include(${VTK_USE_FILE})
 
add_executable(TestGL2PSExporterRaster TestGL2PSExporterRaster)
 
if(VTK_LIBRARIES)
  target_link_libraries(TestGL2PSExporterRaster ${VTK_LIBRARIES})
else()
  target_link_libraries(TestGL2PSExporterRaster vtkHybrid vtkWidgets)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestGL2PSExporterRaster.pdf.gz
Type: application/x-gzip
Size: 6792 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161005/34559ac7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestGL2PSExporterRaster.cxx
Type: text/x-c++src
Size: 4031 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161005/34559ac7/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestGL2PSExporterRaster.png
Type: image/png
Size: 40483 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161005/34559ac7/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cone.png
Type: image/png
Size: 16738 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161005/34559ac7/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cone.pdf.gz
Type: application/x-gzip
Size: 3858 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161005/34559ac7/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cone.py
Type: text/x-python
Size: 484 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161005/34559ac7/attachment.py>


More information about the vtkusers mailing list