NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
cxIndent.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#ifndef CXINDENT_H_
13
#define CXINDENT_H_
14
15
#include "cxResourceExport.h"
16
17
#include <vtkIndent.h>
18
19
namespace
cx
20
{
21
28
class
cxResource_EXPORT
Indent
// : public vtkIndent
29
{
30
public
:
31
enum
DETAIL
{
32
dSTRUCTURE
,
33
dNORMAL
,
34
dDETAILS
35
};
36
37
public
:
38
Indent
();
39
explicit
Indent
(
int
ind, DETAIL det=dNORMAL);
40
~
Indent
();
41
42
int
getIndent()
const
;
43
vtkIndent getVtkIndent()
const
;
44
Indent
stepDown()
const
;
45
bool
includeDetails()
const
;
46
bool
includeNormal()
const
;
47
48
DETAIL
mDetail
;
49
int
mIndent
;
50
};
51
52
cxResource_EXPORT ostream&
operator<<
(ostream &os,
const
Indent
&val);
53
54
55
}
56
57
#endif
/*CXINDENT_H_*/
cx::Indent::dSTRUCTURE
@ dSTRUCTURE
print overall structure only
Definition:
cxIndent.h:32
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::Indent::mIndent
int mIndent
Definition:
cxIndent.h:49
cx::Indent::DETAIL
DETAIL
Definition:
cxIndent.h:31
cx::operator<<
std::ostream & operator<<(std::ostream &s, const IntBoundingBox3D &data)
Definition:
cxBoundingBox3D.cpp:125
cx::Indent
Formatting class for debug printing of the ssc library.
Definition:
cxIndent.h:28
cx::Indent::dNORMAL
@ dNORMAL
print all contents of ssc structures
Definition:
cxIndent.h:33
cx::Indent::mDetail
DETAIL mDetail
how much info to print
Definition:
cxIndent.h:48
CX
source
resource
core
utilities
cxIndent.h
Generated on Thu Jan 5 2023 03:15:54 for NorMIT-nav by
1.8.17