/usr/share/dx/samples/scripts/ShowPositions is in dxsamples 4.2.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | // Import the data
electrondensity = Import("watermolecule");
// Partition the data
electrondensity = Partition(electrondensity);
// Create a camera
camera = AutoCamera(electrondensity,"off-diagonal");
// Show all the positions in the data
positions = ShowPositions(electrondensity);
// Color the positions.
colored = AutoColor(positions);
// Display the result
Display(colored,camera);
// Compare to true volume rendering
colored = AutoColor(electrondensity,intensity=3);
Display(colored,camera);
|