1071 Commits

Author SHA1 Message Date
Jarrett Johnson
7c931c893a ensure GLEW_ERROR_NO_GLX_DISPLAY define is available before use. 2023-01-12 00:51:27 +09:00
bisdan
5d55f74723 Workaround shader disable encountered in combination with wayland (#271) 2023-01-10 23:55:12 +09:00
Thomas Holder
f70c533d01 bg_gradient=2 grid mode 2023-01-04 00:01:43 +09:00
Thomas Holder
85b6ce440a New setting: cell_centered (#259)
Closes https://github.com/schrodinger/pymol-open-source/issues/258
2022-10-05 11:15:15 -04:00
Jarrett Johnson
91f3ead318 GridMode enum 2022-08-17 15:03:08 -04:00
Jarrett Johnson
53f1d78106 Abstract many C++ viewport calls 2022-08-17 15:02:29 -04:00
Jarrett Johnson
8f14cee822 SceneRenderInfo and other misc render API changes 2022-08-17 14:50:48 -04:00
Jarrett Johnson
3ff4ec4b00 Decouple offscreen rendering logic from AA request 2022-08-17 14:47:23 -04:00
Jarrett Johnson
6de35cd627 Initial pass of Scene Render refactor 2022-08-17 14:23:55 -04:00
Jarrett Johnson
95d3d1eba5 Fix #242 Centos7 glm too old for vec3=vec4 2022-07-12 12:16:45 -04:00
Jarrett Johnson
eea082966b Remove orthoCGO defines; fix warnings 2022-03-08 15:31:11 -05:00
Jarrett Johnson
74894e01da Generic CGO Render 2022-03-08 15:16:16 -05:00
Jarrett Johnson
34e39904c8 PYMOL-3766 Move GL code out of CGO.cpp
API-specific behavior is now done in separate files
2022-03-08 15:07:49 -05:00
Thomas Stewart
6367cb4f79 Event Class & C++11 fixes 2022-02-22 16:13:04 -05:00
Jarrett Johnson
bacc3256d5 TTT Rework 2022-02-22 15:34:44 -05:00
Jarrett Johnson
fceae6fe66 PlugIOManager: use vector over VLA 2021-08-20 11:45:09 -04:00
Jarrett Johnson
5465c50c73 template arg needed for std::uniform_real_distribution 2021-08-20 11:25:15 -04:00
Jarrett Johnson
43bf1e926e add algorithm header to Vector.h 2021-08-20 11:25:09 -04:00
Jarrett Johnson
d91304e08a Remove OVRandom 2021-08-20 11:24:45 -04:00
Jarrett Johnson
07d7a790f0 Forward decls/Move headers to source 2021-08-20 11:24:10 -04:00
Jarrett Johnson
49d4a936aa 2.6.0a0 version bump 2021-07-08 09:41:29 -04:00
Thomas Stewart
cb277dfd86 PYMOL-3694 Scene Refactor to Store Thumbnail
- Adding a pymol::Image thumbnail to MovieScene
    - This allows the thumbnail to be directly
      tied to the Scene when it's stored
- Adding set and get methods to Image.h
2021-07-07 12:27:02 -04:00
Jarrett Johnson
9742359bc0 Replace OV (AtomInfo) 2021-07-07 12:19:24 -04:00
Jarrett Johnson
621c95fc55 Replace OV (Texture) 2021-07-07 12:15:36 -04:00
Jarrett Johnson
84a4c542d6 Replace OV/VLA (Tracker) 2021-07-07 12:15:31 -04:00
Jarrett Johnson
65835f9991 Remove OOMac 2021-07-07 12:03:25 -04:00
Jarrett Johnson
9ea504ea8d 2.5.0 2021-05-10 14:38:37 -04:00
Thomas Holder
4a3c72ace1 Fix volume_mode for !defined(_PYMOL_IP_EXTRAS) 2021-04-28 08:14:42 -04:00
Jarrett Johnson
108e698242 InternalGUIMode enum class 2021-04-28 05:31:23 -04:00
Jarrett Johnson
b757625174 Use signed integer for omp for loop 2021-04-28 05:23:24 -04:00
Thomas Holder
c96a54561d PYMOL-3528 Basic marching cubes for isosurface
New default algorithm for `--use-vtkm=no`. It's not as good as the VTK-m
implementation, but should be better than marching tetrahedra and
doesn't require any external libraries.
2021-04-28 05:23:19 -04:00
Thomas Holder
fb5fae24b3 (fix build) 2021-04-28 05:17:46 -04:00
Thomas Holder
b85270bc30 PYMOL-3528 isosurface with VTKm
New setting: isosurface_algorithm
2021-04-28 05:17:34 -04:00
Jarrett Johnson
b184f73cce RenderContext enum class 2021-04-28 05:13:30 -04:00
Thomas Holder
305894124e cmd.png(None) -> bytes 2021-04-28 04:38:33 -04:00
Jarrett Johnson
7d392b852c Backport Seq refactor from undo 2021-04-28 04:05:21 -04:00
Jarrett Johnson
867b19f8d0 Add ref qualifiers to Result methods 2021-04-28 04:05:17 -04:00
Jarrett Johnson
6498daeef7 replace Scene VLAs with std::vector 2021-04-28 03:49:28 -04:00
Jarrett Johnson
776e557feb Wizard.cpp refactor 2021-04-28 03:47:12 -04:00
Jarrett Johnson
2d6a4574d5 zstring_view equal with case 2021-04-28 03:46:58 -04:00
Jarrett Johnson
b66358f49f Extend ListMacros 2021-04-28 03:46:46 -04:00
Thomas Holder
3ab08be830 memory usage info
- pymol::memory_usage()
- pymol::memory_available()
- Replace iOS-only function get_free_memory() with pymol::memory_available()
2021-04-06 10:23:24 -04:00
Thomas Holder
07435800fc pbc_wrap/pbc_unwrap, smooth+intra_fit pbc support
- new `pbc_wrap` and `pbc_unwrap` commands
- `intra_fit pbc=1` (default) automatically unwraps and rewraps
- `smooth pbc=1` (default) automatically unwraps and rewraps
- Changes CoordSetRealToFrac/CoordSetFracToReal to take the
  premultiplied state matrix into account
2021-03-26 14:04:35 +01:00
Thomas Holder
c80a21a7ec Refactor Vector.h inline functions as templates
- Eliminate duplicate implementations for type `double`
- Remove unused `inline_within3fsq`
2021-03-26 13:49:28 +01:00
Thomas Holder
b9372a6853 Don't allow pymol::string_format("") 2021-02-11 19:14:21 +01:00
Jarrett Johnson
355c45d229 Place CObject in pymol namespace 2021-02-11 19:14:06 +01:00
Thomas Holder
f3c0419654 rebond pbc=1
- Add `pbc` argument to cmd.rebond()
- Refactor ObjectMoleculeConnect
- Add support for OpenMP
2021-02-11 19:05:08 +01:00
Thomas Holder
0562e1ec18 Fix GCC 4.8 and Intel Compiler support
- Fix `pymol::string_format` with `pymol::zstring_view`
- Skip `std::is_trivially_copyable` for GCC 4.8
- Eliminate some compiler warnings

Closes https://github.com/schrodinger/pymol-open-source/issues/163
2021-02-01 12:38:43 +01:00
Thomas Holder
63c1796bc0 StateIndex_t, StateIndexPython_t 2021-01-14 15:36:48 +01:00
Thomas Holder
dc2aff4133 Refactor: Doxygen comments, ObjectMoleculeUpdateNeighbors
- Use proper doxygen syntax for all function comments
- ObjectMoleculeUpdateNeighbors allow const argument
- Remove obsolete ObjectMolecule::BondCounter
2021-01-14 15:23:06 +01:00