"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer1/Extrude.h" between
pymol-open-source-2.2.0.tar.gz and pymol-open-source-2.3.0.tar.gz

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

Extrude.h  (pymol-open-source-2.2.0):Extrude.h  (pymol-open-source-2.3.0)
skipping to change at line 32 skipping to change at line 32
#include"ObjectMolecule.h" #include"ObjectMolecule.h"
#include"CoordSet.h" #include"CoordSet.h"
typedef struct { typedef struct {
PyMOLGlobals *G; PyMOLGlobals *G;
int N; /* number of points in the extrusion segment */ int N; /* number of points in the extrusion segment */
float *p; /* points */ float *p; /* points */
float *n; /* normals (3x3f) at each point */ float *n; /* normals (3x3f) at each point */
float *c; /* colors */ float *c; /* colors */
float *alpha; /* alpha values*/
unsigned int *i; /* atom indices */ unsigned int *i; /* atom indices */
float r; float r;
float *sf; /* scale factors for variable-width extrusions ( single point) */ float *sf; /* scale factors for variable-width extrusions ( single point) */
float *sv, *tv; float *sv, *tv;
float *sn, *tn; float *sn, *tn;
int Ns; int Ns;
} CExtrude; } CExtrude;
CExtrude *ExtrudeNew(PyMOLGlobals * G); CExtrude *ExtrudeNew(PyMOLGlobals * G);
CExtrude *ExtrudeCopyPointsNormalsColors(CExtrude * orig); CExtrude *ExtrudeCopyPointsNormalsColors(CExtrude * orig);
int ExtrudeAllocPointsNormalsColors(CExtrude * I, int n); int ExtrudeAllocPointsNormalsColors(CExtrude * I, int n);
void ExtrudeTruncate(CExtrude * I, int n); void ExtrudeTruncate(CExtrude * I, int n);
/* SAUSAGE: look-up table -- nearest neighbors to extrusion points */
void ExtrudeMakePuttyLUT(CExtrude * I, ObjectMolecule * Sauce_obj);
void ExtrudeFree(CExtrude * I); void ExtrudeFree(CExtrude * I);
int ExtrudeCircle(CExtrude * I, int n, float size); int ExtrudeCircle(CExtrude * I, int n, float size);
int ExtrudeRectangle(CExtrude * I, float width, float length, int mode); int ExtrudeRectangle(CExtrude * I, float width, float length, int mode);
int ExtrudeOval(CExtrude * I, int n, float width, float length); int ExtrudeOval(CExtrude * I, int n, float width, float length);
int ExtrudeComputePuttyScaleFactors(CExtrude * I, ObjectMolecule * obj, int ExtrudeComputePuttyScaleFactors(CExtrude * I, ObjectMolecule * obj,
int transform, int transform,
float mean, float stdev, float min, float max , float mean, float stdev, float min, float max ,
float power, float range, float power, float range,
float min_scale, float max_scale, int smooth_ window); float min_scale, float max_scale, int smooth_ window);
void ExtrudeBuildNormals1f(CExtrude * I); void ExtrudeBuildNormals1f(CExtrude * I);
void ExtrudeBuildNormals2f(CExtrude * I); void ExtrudeBuildNormals2f(CExtrude * I);
int ExtrudeComputeTangents(CExtrude * I); int ExtrudeComputeTangents(CExtrude * I);
int ExtrudeCylindersToCGO(CExtrude * I, CGO *cgo, float tube_radius); int ExtrudeCylindersToCGO(CExtrude * I, CGO *cgo, float tube_radius);
int ExtrudeCGOSurfaceTube(CExtrude * I, CGO * cgo, int cap, const float *color_o verride, bool use_spheres, int dash=0); int ExtrudeCGOSurfaceTube(CExtrude * I, CGO * cgo, int cap, const float *color_o verride, bool use_spheres, int dash=0);
void ExtrudeCGOSurfaceTubeToCylinders(CExtrude * I, CGO * cgo, int cap, const fl oat *color_override);
int ExtrudeCGOSurfaceVariableTube(CExtrude * I, CGO * cgo, int cap); int ExtrudeCGOSurfaceVariableTube(CExtrude * I, CGO * cgo, int cap);
int ExtrudeCGOSurfacePolygon(CExtrude * I, CGO * cgo, int cap, const float *colo r_override); int ExtrudeCGOSurfacePolygon(CExtrude * I, CGO * cgo, int cap, const float *colo r_override);
int ExtrudeCGOSurfacePolygonTaper(CExtrude * I, CGO * cgo, int ExtrudeCGOSurfacePolygonTaper(CExtrude * I, CGO * cgo,
int sampling, const float *color_override); int sampling, const float *color_override);
int ExtrudeCGOSurfaceStrand(CExtrude * I, CGO * cgo, int sampling, int ExtrudeCGOSurfaceStrand(CExtrude * I, CGO * cgo, int sampling,
const float *color_override); const float *color_override);
void ExtrudeCGOTraceFrame(CExtrude * I, CGO * cgo); void ExtrudeCGOTraceFrame(CExtrude * I, CGO * cgo);
void ExtrudeCGOTrace(CExtrude * I, CGO * cgo); void ExtrudeCGOTrace(CExtrude * I, CGO * cgo);
void ExtrudeCGOTraceAxes(CExtrude * I, CGO * cgo); void ExtrudeCGOTraceAxes(CExtrude * I, CGO * cgo);
 End of changes. 3 change blocks. 
4 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)