#include "visman.h"

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

public:
  KDTreeStepVis (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 (en->_event == KDTreeStep_Ascend ||
						 en->_event == KDTreeStep_ToSibling || 
						 IsStartEvent (en) || 
						 IsEndEvent (en));}
  int IsStartEvent (const LogEntry *en) const {return (en->_event == KDTreeStep_Start);}
  int IsEndEvent (const LogEntry *en) const {return (en->_event == KDTreeStep_End);}
};



