- 18 Dec, 2014 1 commit
-
-
Sean McBride authored
Used the following command: find . \( -iname *.h -and -type f \) -exec perl -pi -w -e 's/__vtk(.*)_h/vtk$1_h/g;' {} \; Fixes many, but not all, clang -Wreserved-id-macro warnings. Change-Id: I694ff053cb204c70e37b261296f496064d91fc07
-
- 15 Oct, 2014 2 commits
-
-
David C. Lonie authored
These are messing up the exported files. Change-Id: I49a0470a05850ec36fc82175d7e8b2df5fb8705f
-
David C. Lonie authored
Change-Id: I54a664d7c4b0dc8824a099b035e26872f0b6fa7f
-
- 03 Jul, 2014 1 commit
-
-
Ben Boeckel authored
The main kits are: vtkCommon vtkFilters vtkIO vtkImaging vtkInteraction vtkOpenGL (required due to a dependency cycle from vtkRenderingOpenGL on vtkImagingHybrid) vtkParallel vtkRendering vtkViews vtkWrapping Modules which deal with a specialization of another module belong to the kit related to the specialization (i.e., FiltersParallel and IOParallelXML both belong to the vtkParallel kit) to avoid circular dependencies that arise when put into the same kit as the "lesser" module. Change-Id: Icae0baa78d62cc0dcce84546541df600d4f311dd
-
- 16 Jun, 2014 1 commit
-
-
Marcus D. Hanwell authored
This will enable us to switch the backend at will, the OpenGL works whereas the OpenGL2 needs some additional improvements mainly to use point sprites (where most of the tests are failing. Change-Id: I648c18ca33b4c6796c4b7a829a2902f7e91ff412
-
- 06 May, 2014 1 commit
-
-
Ken Martin authored
-
- 16 Apr, 2014 1 commit
-
-
Ben Boeckel authored
Change-Id: I10a54acbd076e055d8071414f2fff1ebafe1653d
-
- 01 Nov, 2013 1 commit
-
-
David C. Lonie authored
Added a regression test to check marker sizes. Change-Id: I0532f47f870a718945b0da77d2a024af7d605b60
-
- 30 Sep, 2013 1 commit
-
-
Marcus D. Hanwell authored
Made most of the vtkRenderingContext2D dependencies private. Some minor moves for vtkChartsCore too. Change-Id: I41f3066e67d8537830c076829fafac034fadf41d
-
- 23 May, 2013 1 commit
-
-
Brad King authored
Replace the last use of vtkTestingObjectFactory.cmake and remove it. CMake modules that have immediate inline effects are hard to follow, so drop this one. Change-Id: I813644b0c31c1eecd3415f11e57e703d035940fd
-
- 10 May, 2013 1 commit
-
-
David C. Lonie authored
Place markers in the exported vector graphics files marking where paths are. This makes it easier to track down what path is being drawn. Change-Id: Id8582cc2bcb33c2afca6db545f4048c3b8ad1ad0
-
- 22 Apr, 2013 1 commit
-
-
Bill Lorensen authored
When tests are run with -I they must be linked with InteractionStyle. On the Mac, tests must be linked with MACOSX_BUNDLE to get keyboard focus. Change-Id: I938c4b6a5a44ca5792f5eeaaa946cc9fb27e1110
-
- 18 Apr, 2013 1 commit
-
-
David C. Lonie authored
* Converted tests to use regular TextActors. * Fixed the MathText path generator to rotate paths if needed. * Update the GL2PS text export code to check for mathtext strings, since mathtext/freetype are both handled by the same actor. * Made vtkTextRenderer::DetectBackend public so we can peek at the backend from the export code. Change-Id: I52ba3c1e916c70dd80b67d59b611db1becb0846c
-
- 25 Mar, 2013 1 commit
-
-
David C. Lonie authored
The functions: static void vtkGL2PSExporter::SetGlobalLineWidthFactor(float); static void vtkGL2PSExporter::SetGlobalPointSizeFactor(float); were removed during the GL2PS rewrite. This patch restores the functionality by adding LineWidthFactor and PointSizeFactor ivars to vtkGL2PSExporter and the associated setters: void vtkGL2PSExporter::SetLineWidthFactor(float) void vtkGL2PSExporter::SetPointSizeFactor(float) These attributes are specific to the vtkGL2PSExporter instances, while the old implementation stored them in global variables. A vtkOpenGLGL2PSHelper is added to RenderingOpenGL that fakes the GL2PS function calls needed to update line width, point size, and stipple state. The public static methods are called from the rendering code when the GL state is changed to inform GL2PS of the change. The vtkOpenGLGL2PSHelper class is used to update GL2PS without introducing a dependency on vtkgl2ps to vtkRenderingOpenGL. The TestContextGL2PS unit test is modified to ensure that 1.0 scaling factors are used. The vtkGL2PSContextDevice::StippleOn was not used, and is removed in this commit. Change-Id: Ia367211848f69ffdb093fceeb9baa029435a20d0
-
- 22 Mar, 2013 1 commit
-
-
Utkarsh Ayachit authored
This reverts commit 35a3e376. Instead of adding OPENGL_INCLUDE_DIR to every module that depends on vtkRenderingOpenGL, we add OPENGL_INCLUDE_DIR as one of the vtkRenderingOpenGL_INCLUDE_DIRS. That way, any module depending on vtkRenderingOpenGL will automatically know where to find gl.h since gl.h is needed by the header files for classes in vtkRenderingOpenGL. Change-Id: I6675c2b522e15b3fc6f7a80c28f91c56660b671e
-
- 01 Feb, 2013 1 commit
-
-
David C. Lonie authored
This patch replaces most of the remaining calls to the vtkFreeType text rendering classes with equivalents that go through the vtkTextRenderer layer. Most of these were used to calculate bounding boxes for text actors, which would be incorrect if the text actor was rendering math text. Also removed a few unneeded headers and mentions of vtkFreeType. Change-Id: Iddf7d84dbf46c30774baf96d32edd07b6da77031
-
- 25 Jan, 2013 1 commit
-
-
Utkarsh Ayachit authored
This makes it easier for external applications attempting to use vtkTestingObjectFactory since they don't require the vtkTestingRendering_SOURCE_DIR to set anymore (which won't even when the vtkTestingRendering module has been successfully imported. Change-Id: I14795bbe0f9d71d41da14c970ba49bdb8e11a913
-
- 03 Dec, 2012 1 commit
-
-
Dave DeMarle authored
For example vtkGL2PSExporter.cxx includes vtkOpenGLRenderWindow.h, which includes vtkOpenGL.h which includes GL/gl.h. When that isn't on the system include path, as in cross compilation for a supercomputer an using pure OSmesa compilation will fail. Change-Id: Ic0fa1870009c6013ad30dbb938707ba4735f1ed3
-
- 25 Oct, 2012 1 commit
-
-
David C. Lonie authored
Turns out that the GL2PS PDF backend silently ignores alignment settings for data. This provides a workable alternative. Change-Id: I09abbbd74fa3787e641020f038d9915a2145341e
-
- 23 Oct, 2012 1 commit
-
-
David C. Lonie authored
* Make the render window accessible from within GL2PSUtilities during export. * Move Draw3DPath from GL2PSExporter to GL2PSUtilities. * Minor changes to private API function arguments. * Generalize code for projecting points from world coordinates to GL2PS device space. Change-Id: I358b5e0bfeb7bedee5565a0855dcbba913ecc558
-
- 19 Oct, 2012 1 commit
-
-
David C. Lonie authored
The MathText module doesn't need to be built separately from FreeType. Change-Id: Ib051e0608a644e886a80405dcd298c1a47fd0544
-
- 04 Oct, 2012 3 commits
-
-
David C. Lonie authored
Change-Id: Ib08e41f9d5057d2041a0af38268d5994f121c2d6
-
David C. Lonie authored
Change-Id: I631922bdcb708c0912685eb0d1c2b1e92134d79c
-
David C. Lonie authored
This patch moves the point marker rendering from vtkPlotPoints to the vtkContext2D classes, allowing GL2PS export to properly handle the plotted points. Change-Id: Iaf17bc73f90f7cb330a319e0944e6bf4badc86a6
-
- 02 Oct, 2012 1 commit
-
-
David C. Lonie authored
Recent modifications to our bundled gl2ps library have been merged upstream. The modification that disabled writing a timestamp has been removed, as the timestamp will no longer break tests. The associated API in vtkGL2PSExporter (which was new) has been removed. Change-Id: Ic26eeabf84ad8a46bada6d9eb192455fe7c672a6
-
- 01 Oct, 2012 1 commit
-
-
David C. Lonie authored
This commit replaces the md5sum based GL2PS tests, which were unreliable across GL implementations and difficult to maintain, with a ghost script based approach. Testing is performed as follows: 1) The unit tests generate a post script file 2) A CMake script, CMake/RasterizePostScript.cmake is called, which runs ghostscript to rasterize the postscript file into a png image. 3) A PNGCompare test is called, which uses new API in vtkTesting to read the png file back in and perform a fuzzy image diff. PNGCompare lives in the Rendering/GL2PS module. Change-Id: I0e99b903512166741fe572ce417c1d0d480c34cd
-
- 29 Sep, 2012 1 commit
-
-
David Gobbi authored
The Red(), Green(), Blue() methods don't follow the usual naming pattern. If future wrappers see SetRed() and GetRed() methods, they can infer the existence of a property called "Red", but if a method called "Red()" already exists, this creates an ambiguity that the wrappers will have to deal with if they do property-based wrapping. Change-Id: I8a5fa13074512bf7b06e353a5fa7b73efe6ce039
-
- 13 Aug, 2012 1 commit
-
-
Dave DeMarle authored
Change-Id: I1dbd7ce6c9a85365f65e69ef3ad1da9bf47a49db
-
- 09 Aug, 2012 1 commit
-
-
Brad King authored
Tcl does not support packages with digits in their names. We map module names containing digits to alternative names for Tcl packages. Generalize the existing hard-coded mappings to use a per-module declared "TCL_NAME" instead. Add a mapping for vtkIOXdmf2 -> vtkIOXdmfII. Change-Id: I2a6d708eadd746191a77b5efdd1a4385dad73810
-
- 03 Aug, 2012 2 commits
-
-
David Gobbi authored
Change-Id: I2898648f6843f5837677dacac278a1eb50104bd7
-
Utkarsh Ayachit authored
vtkGL2PSContextDevice2D cannot be wrapped since its parent class is not wrapped. Adding it to WRAP_EXCLUDE group. Change-Id: Id1072d3ead8fb147d503c7d3b324f6ea2caef9f8
-
- 31 Jul, 2012 1 commit
-
-
David C. Lonie authored
* Fixed bitmap rasterization. * Added ability to exclude specific 3D props from the rasterization process, if enabled. * Improved support for text rendering. * Added method to vtkRenderWindow to collect all visible vtkActor2D objects that are vtk[Math]TextActors or use a vtkTextMapper. * Add support for Context2D drawings * Add CMake/CompareFileMD5.cmake script to compare postscript files * Remove old GL2PSExporter python test * Modify gl2ps sources to disable writing timestamps (prevents useful MD5 hashing for regression tests) * A static string is used as the image title by default. * Add vtkGL2PSUtilities, a collection of static functions that interact with GL2PS to render vtk objects. * Add a gl2psGetFileFormat() function to the bundled gl2ps library. Change-Id: Ia6fafc8e4d0a49bd9fdbecf32f43925a0aab7050
-