#include "visman.h"
#include "logentry.h"

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

public:
  KDTreeSubdivideVis (const Vis *parent, const LogEntry *someevent);
  void Display (const LogEntry *upto) const;
  char * StatusLine (const LogEntry *entry) const;

  const LogEntry *GetStartEntry (void) const {return _start;}
  int IsOurs (const LogEntry *en) const {return (KDTreeSubdivide_TryPlane || KDTreeSubdivide_Start || KDTreeSubdivide_End);}
  int IsStartEvent (const LogEntry *en) const {return (en->_event == KDTreeSubdivide_Start);}
  int IsEndEvent (const LogEntry *en) const {return (en->_event == KDTreeSubdivide_End);}
};

