19 Commits

Author SHA1 Message Date
Jarrett Johnson
9333da43b2 Specify color ramp for volume state
Fixes #289
2023-07-20 12:07:03 -04:00
Jarrett Johnson
355c45d229 Place CObject in pymol namespace 2021-02-11 19:14:06 +01:00
Thomas Holder
08c9dff871 PYMOL-3533 Refactor Rep as polymorphic type (2)
Part 2: virtual member functions
2020-09-30 09:46:26 +02:00
Thomas Holder
8b9efcc028 refactor: use more pymol::Result 2020-04-23 14:11:17 +02:00
Jarrett Johnson
9773919157 refactor ObjectVolumeState 2020-02-20 12:19:07 +01:00
Jarrett Johnson
566008aa0d remove unused Executive/ObjectVolumeColor 2020-02-20 11:51:29 +01:00
Thomas Holder
6337b36d83 isosurface/isomesh/volume error handling
- reject state < -2
- don't create empty surface for invalid selection
- don't delete surf_name if early error detected
2020-01-22 11:52:20 +01:00
Thomas Holder
75f06a974e CObject function pointers -> virtual methods 2019-10-29 16:24:12 +01:00
Jarrett Johnson
00473b5656 C++ inheritance for Object classes 2019-09-04 18:18:01 +02:00
Thomas Holder
035d6fe611 C++ inheritance for all CObject subclasses 2019-03-29 13:36:14 +01:00
Thomas Holder
f21c61958e Graphics refactoring, ported from Incentive PyMOL 2018-07-03 20:19:12 +02:00
Thomas Holder
9686cfea0e 1.8.1.2 2016-03-21 21:20:36 +00:00
Thomas Holder
dad194ad0f Restore scenes "disable" recall behavior...
- scenes: Restore the old behavior that when recalling a scene, all objects
  which were not present when storing the scene are disabled.
- fix auto-complete for filenames with spaces
- fix an object menu panel group ordering problem

Refactoring:
- remove unused variables (Partly applies https://sourceforge.net/p/pymol/bugs/166/)
- lots of: char* -> const char*
- remove inline Parse functions, simplify ParseFloat3List
- make functions static
2015-04-09 21:35:38 +00:00
Thomas Holder
2b1677c35d 1.7.2.1 (volume carving)
* reimplement volume carving
  - use a carve mask texture

* fix boxed volume around selection (with or without carving)
  - this only worked for symmetry expanded volumes
  - still limited to maps with symmetry information (TODO)

* removed ObjectVolumeGetIsUpdated, deprecate get_volume_is_updated

* refactored ObjectVolumeStateGetField, ObjectVolumeGetField
  - don't keep a redundant vs->volume copy in memory

* revert a 1.7.2 opaque_background change
  - real-time rendering background was always black with
    opaque_background=0
  - removes opaque_background support for "draw"
2014-08-15 15:05:48 +00:00
Thomas Holder
acd77c5e0e volume improvements, ccp4 map type 0 support, etc.
* volume improvments:
  - grid_mode support
  - adjust volume ramp alphas by number of layers
  - support TTT matrix
  - bind mouse wheel to volume panel to adjust all alphas at once
* CCP4 map type 0 support
* fixed polymer detection for intra-residue N->C and O3'->P bonds
* raise exception when assigning arbitrary string to int setting
* fix group visibility issue in movie making
2014-05-07 21:08:05 +00:00
Thomas Holder
623a7b1231 volume API and panel improvements
- volume presets
- new commands: volume_color, volume_ramp_new
- improved volume panel/UI
- custom volume ramps/presets
- support for volumes from maps with transformation matrix (matrix_copy on map)
2014-03-12 13:29:38 +00:00
Thomas Holder
67028fe2bc version bump: pymol 1.6
* improved rendering performance using shaders, including
   dynamically updated shaders based on settings
   (see data/shaders directory)

 * implemented shaders for menus, labels, selection indicators,
   background, and other graphics that were not using shaders.

 * consolidated textures used for labels and selection indicators
   to one texture, which helps performance

 * added memory checking to help avoid crashing when memory is
   low or not available

 * cleaned up code base, took out extraneous preprocessor code and
   code that was not used.

 * refactor pmg_tk.Settings

 * Do not clear atom names with chempy.champ.assign.amber99

 * fix some plugin manager exception handling

 * fix create with name=None

 * Plugin override search path: Always include "startup"
   from installation directory in plugin search path

 * Movie > Program > Scene Loop > Nutate > by degrees

 * ObjectMeshRenderImpl refactoring: color isomesh and isodot with
   mesh_color and dot_color settings

 * merging alignment objects: eliminate orphaned atoms

 * fix cealign alignment object creation: rms_cur arguments swapped

 * improved the alignto command to take additional keyword arguments
   which get passed to the used method -> object=aln supported now

 * remove _PYMOL_MODULE constant

 * fix LITERAL mode command parsing: ignore leading whitespace
2013-03-22 21:48:17 +00:00
Jason Vertrees
c6e47404ba more warnings cleaned; more clang friendly; opengl from python now works 2011-07-25 20:38:04 +00:00
Jason Vertrees
2b9d727c61 PyMOL v1.4b1 2011-04-01 21:22:09 +00:00