File indexing completed on 2026-04-09 07:48:55
0001 #pragma once
0002
0003
0004
0005
0006
0007
0008
0009 #include "plog/Severity.h"
0010 #include "CSG_API_EXPORT.hh"
0011 #include <string>
0012
0013 struct CSGQuery ;
0014 struct scanvas ;
0015
0016 struct CSG_API CSGDraw
0017 {
0018 static const plog::Severity LEVEL ;
0019
0020 CSGDraw(const CSGQuery* q_, char axis_ ) ;
0021
0022 char* get() const ;
0023 void render();
0024 void draw_tree_r(int nodeIdxRel, int depth, int& inorder ) ;
0025 void draw_list();
0026 void draw_leaf();
0027 void draw_list_item( const CSGNode* nd, unsigned idx );
0028
0029 std::string hdr() const ;
0030 std::string desc() ;
0031
0032
0033 const CSGQuery* q ;
0034 const char axis ;
0035
0036 int type ;
0037 int width ;
0038 int height ;
0039 scanvas* canvas ;
0040 bool dump ;
0041
0042 };
0043