#include "visman.h"

class KDTreeIntersectVis : public Vis {
protected:
  const LogEntry *_start;

public:
  KDTreeIntersectVis (const Vis *parent, const LogEntry *someevent);

  void Display (const LogEntry *upto) const; 

  char *StatusLine (const LogEntry *ours) const;

  const LogEntry *GetStartEntry (void) const {return _start;}

  int IsOurs (const LogEntry *en) const {return (IsStartEvent (en) || 
						 IsEndEvent (en));}
  int IsStartEvent (const LogEntry *en) const {return (en->_event == KDTreeIntersect_Start);}
  int IsEndEvent (const LogEntry *en) const {return (en->_event == KDTreeIntersect_End);}
};



