- 09 Apr, 2015 6 commits
-
-
David C. Lonie authored
-
David C. Lonie authored
-
David C. Lonie authored
This is not supported by the new OpenGL2 backend, and doesn't support new text features, like MathText, FontConfig, or custom font files. It only implements vtkTextMapper, which now will use a texture-based implementation, similar to vtkTextActor and friends.
-
David C. Lonie authored
I used to move the alignment point onto the edge of the rendered text, but this lead to some layout issues, including a particularly nasty possibility of having a label rendered outside of a constrained bounding box. This should be made an option at some point (a tight alignment property on vtkTextProperty perhaps?), as it does look nicer on certain centered labels.
-
David C. Lonie authored
I missed this when I was updating the text actors to better support rotations + alignments. Basically, now we anchor the texture's image extent index <0, 0, 0> to the mapper/actor's position to get "proper" alignment. Also add a bit to ensure that this is exported properly by GL2PS and prevent errors from converting NULL to std::string. These features are tested by a test added in a later patch, in this branch, as the other TextMapper implementation is still used by default at this point.
-
Ben Boeckel authored
These files weren't being handled properly when modules appeared or disappeared.
-
- 08 Apr, 2015 11 commits
-
-
David C. Lonie authored
Some ParaView tests produce multiple images and it can be time consuming to track down which image failed. Let's print the failed image name in the output.
-
David C. Lonie authored
Dunno what this does, but without it the baseline doesn't match the rendering. The image difference was small enough that this test has been passing for years, until the slight text changes pushed it over the tolerance. The link below suggests that it was something to check to see if the script was running inside of VTK's TCL interpreter? http://stackoverflow.com/questions/18457569/info-command-rtexmath-in-tk-with-vtk In any case, the outline actor is definitely there in the baseline, so let's just add it unconditionally.
-
David C. Lonie authored
Also ensure that the text property's justification makes sense for the desired layout.
-
David C. Lonie authored
-
David C. Lonie authored
This will override the vtkTextProperty foreground color once the vtkTextRenderer backend implementation is made default.
-
David C. Lonie authored
-
David C. Lonie authored
-
David C. Lonie authored
vtkLabelPlacementMapper wasn't freeing the render strategy's resources.
-
David C. Lonie authored
The legends in the bar/pie charts were not displaying symbols. These have been broken for a while, but the error was small enough that the image test tolerance didn't pick up on it until the text revamp triggered a large change.
-
ab5456f4 Documentation: Update required Git version to 1.7.2 Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Reviewed-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !104
-
Brad King authored
Our 'git-gitlab-push' script requires Git 1.7.2 or greater to use the 'git -c <name>=<value> ...' configuration option. Since 1.7.2 came out in 2010 it is reasonable to expect developers to have it in 2015.
-
- 07 Apr, 2015 3 commits
-
-
50d22d06 Changed placeholder value from 0.0 to 1.0, fixing undefined behaviour Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !102
-
Sean McBride authored
At 0.0 the vtkFiltersAMRCxx-TestImageToAMR test would divide by zero (giving nan) then convert that to int (which is undefined). Found by clang's UBSan.
-
e731f7d4 Add support tbb in local build dirs, and from composer installs. 7493f032 FindTBB: Updated implementation to version proposed for CMake. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Sujin Philip <sujin.philip@kitware.com> Merge-request: !1
-
- 06 Apr, 2015 14 commits
-
-
bf855f4d COMP: Typo causes compile error Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !99
-
5678f1cb Removed many unneeded null checks before delete Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
David Gobbi <david.gobbi@gmail.com> Merge-request: !97
-
67bfb78e Account for window position when drawing in external context 1fd0e34b Added ability to automatically resize external window c5c0794f Changed GLUT test to remove VTK lights e7b5c093 Set spot parameters on the newly created lights bb59caeb Fix lights issue in external render environments Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !78
-
Sankhesh Jhaveri authored
In the VTK world display coordinates are with reference to the VTK window origin and size. However, when rendering in an external context, the display coordinates should consider the whole context origin and size. This change fixes the issue where all VTK rendering was happening on the left side of a VRUI stereo window.
-
Sankhesh Jhaveri authored
Added a boolean that enables/disables querying the OpenGL state for viewport size. By default, the viewport size is queried at the start of each frame and the VTK window is resized based on the query result.
-
Sankhesh Jhaveri authored
With the external lighting change, VTK external renderer does not support any VTK lights. This change enables the GLUT test to create OpenGL lights and adds a new baseline.
-
Sankhesh Jhaveri authored
Query spot parameters on the OpenGL light from the OpenGL state and set it on the VTK light.
-
Sankhesh Jhaveri authored
With this change, the external VTK renderer disables automatic light creation. In each frame, OpenGL lights are queried from the OpenGL state and a new headlight is added in VTK for each enabled OpenGL light. This way VTK objects in the scene are lit with lights from the external OpenGL application. NOTE: VTK lights created in the pipeline are discarded and only the externally created OpenGL lights are regarded.
-
d9ec645c Modernized Cocoa code to use NSTrackingArea Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
David Gobbi <david.gobbi@gmail.com> Merge-request: !66
-
Bill Lorensen authored
A typo introduced in a previous patch causes sytnax errors while compiling XdmfTestVTKIO.
-
156f895a Solve windows warnings. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !90
-
Sean McBride authored
Also removed some dead code as a consequence, like setting the deallocated pointer to null then to a new address. Also removed setting some ivars to null in dtors.
-
Sean McBride authored
NSTrackingArea long ago replaced older APIs used before this. We still work back to 10.5 even after this change. Code affects mouse cursor shape changes.
-
d8ae26c8 ENH: define VTK_MAXPATH Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Andrew Maclean <andrew.amaclean@gmail.com> Reviewed-by:
Sean McBride <sean@rogue-research.com> Reviewed-by:
Andrew Maclean <andrew.amaclean@gmail.com> Merge-request: !93
-
- 05 Apr, 2015 4 commits
-
-
Bill Lorensen authored
VTK classes that define filenames at compile time do not specify a consistent length. This patch uses the logic in kwsys to define VTK_MAXPATH. A number of files have been identified that specify a variety of maximum path lengths. This defined constant should be used in future classes that allocate filenames at complie time. Maximum path lengths are not well defined in general. Even though some systems define a maximum, they may still allow longer path names. The purpose here is to provide a consistent value for VTK. However, this is no less flawed than than current practices.
-
3983827f Add some debugging code Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !95
-
bf094a52 Minor compile fix for GL ES 20 Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !96
-
Ken Martin authored
-
- 04 Apr, 2015 2 commits
-
-
Ken Martin authored
-
b3ee0a49 Fix for draw pixels shows up in PV rubberband selection Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com> Reviewed-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !94
-