- 18 Jan, 2016 19 commits
-
-
David C. Lonie authored
-
David C. Lonie authored
This was causing depth ordering issues on platforms that used an unstable qsort implementation.
-
David C. Lonie authored
-
David C. Lonie authored
The recent changes for VTK have been accepted upstream.
-
David C. Lonie authored
-
David C. Lonie authored
I rebased and Surprise! Ken added line stippling after I'd branched.
-
David C. Lonie authored
-
David C. Lonie authored
-
David C. Lonie authored
Adds an ActiveState ivar to vtkOpenGLGL2PSHelper to replace Capturing. There are three possible states that vectorized mappers/actors need to handle: - Inactive: Render as normal. This really shouldn't happen. - Background: Render pass to build the rasterized background image containing props that cannot be vectorized. Any vectorizable geometry should not be drawn. - Capture: Render vectorizable props using the gl2ps APIs.
-
David C. Lonie authored
The FreeTypeTextMapper tests used to strip out object factories that provided vtkTextMapper overrides. This prevented the (now removed) vtkRenderingFreeTypeOpenGL module from hiding the improved generic implementation in vtkTextMapper, which is what the tests where exercising. Now that vtkRenderingOpenGL2 overrides vtkTextMapper to provide GL2PS export extensions, this code is breaking the tests by removing all OpenGL2-specific classes from the object factory. The offending outdated code has been removed.
-
David C. Lonie authored
Covers TextActor, TextActor3D, TextMapper, and anything else that uses them internally.
-
David C. Lonie authored
Point sprites aren't support at the moment, but everything else should work well at this point.
-
David C. Lonie authored
-
David C. Lonie authored
This method is not available on OSX otherwise.
-
David C. Lonie authored
- Allow GL2PS to work when there is no OpenGL context active. This is indicated by setting the bufferSize in gl2psBeginPage to zero. - Expose gl2psAddPolyPrimitive. This lets us inject primitives directly into the gl2ps data structures via API calls. Also expose the primitive defines, and the definitions of GL2PSxyz, GL2PSrgba, and GL2PSvertex, which are needed for this method. - Add gl2psForceRasterPos to emulate glRasterPos when there is no OpenGL context.
-
David C. Lonie authored
- Read file metadata for bounding box rather than running ghostscript. Ghostscript calculates a tight bounding box that treats white as transparent; thus, many of the rasterized files with white backgrounds ended up being differently sized when the contents changed. This required updating many baselines. - Several mathtext baselines were updated, it appears the 'space' glyph was changed to be a bit wider. - Centralize the code to rasterize/verify postscript files to CMake/vtkTestingGL2PS.cmake.
-
David C. Lonie authored
-
David C. Lonie authored
-
David C. Lonie authored
-
- 15 Jan, 2016 6 commits
-
-
2941cb4c Make wrappers guess type of NULL as nullptr_t. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !1088
-
e2574626 Clarified comments in vtkMatrix4x4.h Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !1089
-
69f15167 Fix a memory leak in the old OpenGL1 offscreen code Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !1083
-
Sean McBride authored
-
91c4f719 Ensure HDF5_HL is found if available. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1078
-
c439fa04 Fix RenderToImage test so it passes with (old) unsupported hardware. Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Ken Martin <ken.martin@kitware.com> Merge-request: !1084
-
- 14 Jan, 2016 8 commits
-
-
David Gobbi authored
When the wrappers encounter NULL in a header file, specifically in the case of "#define something NULL", it now treated as a value of type nullptr_t, similar to nullptr itself. This ensures that NULL will not be wrapped as int, even if it is defined to be 0.
-
63095344 Fix compile error with non-fully compliant C++11 environments Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !1087
-
Sean McBride authored
-
Joachim Pouderoux authored
-
Ken Martin authored
The old offscreen code was leaking for win32 when iterating between SetupMemoryRendering and ResuleScreenRendering
-
465da3ad Replace cube root macro with function. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !1081
-
d4b4a19b Catch by reference Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
David Gobbi <david.gobbi@gmail.com> Reviewed-by:
Brad King <brad.king@kitware.com> Merge-request: !1077
-
Sean McBride authored
Warned by clang-tidy misc-throw-by-value-catch-by-reference check.
-
- 13 Jan, 2016 4 commits
-
-
Sean McBride authored
Fixes clang-tidy misc-macro-parentheses warning. I kept it private, instead of adding it to vtkMath, because once we require C++11 we can just use std::cbrt.
-
5efcd8d2 Bug 15934: vtkMetaImageWriter incorrect voxel spacing and origin Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Berk Geveci <berk.geveci@kitware.com> Merge-request: !1079
-
David Gobbi authored
The vtkMetaImageWriter's Write() method was getting the spacing and origin from the input's data object before updating the data object. As a result, an incorrect spacing and origin was written to the file header.
-
d1910f24 a few more memory leak coverity fixes etc Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Berk Geveci <berk.geveci@kitware.com> Merge-request: !1076
-
- 12 Jan, 2016 3 commits
-
-
Steven Hahn authored
-
8075b868 docs: add documentation for third party changes Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
David Gobbi <david.gobbi@gmail.com> Reviewed-by:
Brad King <brad.king@kitware.com> Merge-request: !1068
-
Ken Martin authored
various coverity fixes
-