src/hg/hgTracks/hgTracks.h 1.197
1.197 2010/01/14 22:36:31 kent
Making bigBed code in dense mode bypass the fast summary based method if a score filter is on.
Index: src/hg/hgTracks/hgTracks.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.h,v
retrieving revision 1.196
retrieving revision 1.197
diff -b -B -U 4 -r1.196 -r1.197
--- src/hg/hgTracks/hgTracks.h 7 Jan 2010 23:49:29 -0000 1.196
+++ src/hg/hgTracks/hgTracks.h 14 Jan 2010 22:36:31 -0000 1.197
@@ -619,12 +619,16 @@
int fieldCount, struct linkedFeatures **pLfList);
/* Read in items in chrom:start-end from bigBed file named in track->bbiFileName, convert
* them to linkedFeatures, and add to head of list. */
+boolean canDrawBigBedDense(struct track *tg);
+/* Return TRUE if conditions are such that can do the fast bigBed dense data fetch and
+ * draw. */
+
void bigBedDrawDense(struct track *tg, int seqStart, int seqEnd,
struct hvGfx *hvg, int xOff, int yOff, int width,
MgFont *font, Color color);
-/* Draw dense mode bigBed. */
+/* Use big-bed summary data to quickly draw bigBed. */
void adjustBedScoreGrayLevel(struct trackDb *tdb, struct bed *bed, int scoreMin, int scoreMax);
/* For each distinct trackName passed in, check cart for trackName.minGrayLevel; if
* that is different from the gray level implied by scoreMin's place in [0..scoreMax],