OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-293-gce72897f source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
Applications
►
ApplicationsLib
►
CLI
▼
DataExplorer
►
Base
►
DataView
▼
VtkVis
MeshFromRasterDialog.cpp
►
MeshFromRasterDialog.h
NetCdfConfigureDialog.cpp
►
NetCdfConfigureDialog.h
►
OGSFilterInfo.h
►
QVtkDataSetMapper.cpp
►
QVtkDataSetMapper.h
VisPrefsDialog.cpp
►
VisPrefsDialog.h
VisualizationWidget.cpp
►
VisualizationWidget.h
VtkAddFilterDialog.cpp
►
VtkAddFilterDialog.h
VtkAlgorithmProperties.cpp
►
VtkAlgorithmProperties.h
VtkAlgorithmPropertyCheckbox.cpp
►
VtkAlgorithmPropertyCheckbox.h
VtkAlgorithmPropertyLineEdit.cpp
►
VtkAlgorithmPropertyLineEdit.h
VtkAlgorithmPropertyVectorEdit.cpp
►
VtkAlgorithmPropertyVectorEdit.h
►
VtkAppendArrayFilter.cpp
►
VtkAppendArrayFilter.h
►
VtkBGImageSource.cpp
►
VtkBGImageSource.h
►
VtkColorByHeightFilter.cpp
►
VtkColorByHeightFilter.h
►
VtkColorLookupTable.cpp
►
VtkColorLookupTable.h
VtkCompositeColorByHeightFilter.cpp
►
VtkCompositeColorByHeightFilter.h
VtkCompositeColormapToImageFilter.cpp
►
VtkCompositeColormapToImageFilter.h
VtkCompositeContourFilter.cpp
►
VtkCompositeContourFilter.h
VtkCompositeElementSelectionFilter.cpp
►
VtkCompositeElementSelectionFilter.h
VtkCompositeFilter.cpp
►
VtkCompositeFilter.h
VtkCompositeGeoObjectFilter.cpp
►
VtkCompositeGeoObjectFilter.h
VtkCompositeImageToCylindersFilter.cpp
►
VtkCompositeImageToCylindersFilter.h
VtkCompositeImageToPointCloudFilter.cpp
►
VtkCompositeImageToPointCloudFilter.h
VtkCompositeImageToSurfacePointsFilter.cpp
►
VtkCompositeImageToSurfacePointsFilter.h
VtkCompositeLineToTubeFilter.cpp
►
VtkCompositeLineToTubeFilter.h
VtkCompositeNodeSelectionFilter.cpp
►
VtkCompositeNodeSelectionFilter.h
VtkCompositePointToGlyphFilter.cpp
►
VtkCompositePointToGlyphFilter.h
VtkCompositeTextureOnSurfaceFilter.cpp
►
VtkCompositeTextureOnSurfaceFilter.h
VtkCompositeThresholdFilter.cpp
►
VtkCompositeThresholdFilter.h
►
VtkConsoleOutputWindow.cpp
►
VtkConsoleOutputWindow.h
►
VtkCustomInteractorStyle.cpp
►
VtkCustomInteractorStyle.h
VtkFilterFactory.cpp
►
VtkFilterFactory.h
►
VtkGeoImageSource.cpp
►
VtkGeoImageSource.h
►
VtkImageDataToLinePolyDataFilter.cpp
►
VtkImageDataToLinePolyDataFilter.h
►
VtkImageDataToPointCloudFilter.cpp
►
VtkImageDataToPointCloudFilter.h
►
VtkImageDataToSurfacePointsFilter.cpp
►
VtkImageDataToSurfacePointsFilter.h
VtkPickCallback.cpp
►
VtkPickCallback.h
►
VtkPointsSource.cpp
►
VtkPointsSource.h
►
VtkPolylinesSource.cpp
►
VtkPolylinesSource.h
VtkRaster.cpp
►
VtkRaster.h
►
VtkStationSource.cpp
►
VtkStationSource.h
►
VtkSurfacesSource.cpp
►
VtkSurfacesSource.h
►
VtkTextureOnSurfaceFilter.cpp
►
VtkTextureOnSurfaceFilter.h
VtkVisHelper.cpp
►
VtkVisHelper.h
VtkVisImageItem.cpp
►
VtkVisImageItem.h
VtkVisPipeline.cpp
►
VtkVisPipeline.h
VtkVisPipelineItem.cpp
►
VtkVisPipelineItem.h
VtkVisPipelineView.cpp
►
VtkVisPipelineView.h
VtkVisPointSetItem.cpp
►
VtkVisPointSetItem.h
VtkVisTabWidget.cpp
►
VtkVisTabWidget.h
►
main.cpp
mainwindow.cpp
►
mainwindow.h
►
DataHolderLib
►
FileIO
►
InSituLib
►
Python
►
Utils
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
VtkConsoleOutputWindow.cpp
Go to the documentation of this file.
1
11
#include "
VtkConsoleOutputWindow.h
"
12
13
#include <ostream>
14
#include <string>
15
16
#include "vtkObjectFactory.h"
17
#ifdef WIN32
18
#include "vtkWindows.h"
19
#endif
20
21
vtkStandardNewMacro
(
VtkConsoleOutputWindow
);
22
23
//----------------------------------------------------------------------------
24
VtkConsoleOutputWindow::VtkConsoleOutputWindow
() =
default
;
25
26
//----------------------------------------------------------------------------
27
VtkConsoleOutputWindow::~VtkConsoleOutputWindow
() =
default
;
28
29
//----------------------------------------------------------------------------
30
// Display text in the window, and translate the \n to \r\n.
31
//
32
void
VtkConsoleOutputWindow::DisplayText
(
const
char
* someText)
33
{
34
if
(!someText)
35
{
36
return
;
37
}
38
39
// Disable warnings
40
std::string someTextString(someText);
41
if
((someTextString.find(
42
"This is very expensive for vtkMappedDataArray subclasses, since "
43
"the scalar array must be generated for each call."
) !=
44
std::string::npos) ||
45
(someTextString.find(
"Invalid framebuffer operation"
) !=
46
std::string::npos))
47
{
48
return
;
49
}
50
51
#ifdef WIN32
52
OutputDebugString(someTextString.c_str());
53
#endif
54
std::cerr << someText;
55
}
32
void
VtkConsoleOutputWindow::DisplayText
(
const
char
* someText) {
…
}
56
57
//----------------------------------------------------------------------------
58
void
VtkConsoleOutputWindow::PrintSelf
(ostream& os, vtkIndent indent)
59
{
60
this->Superclass::PrintSelf(os, indent);
61
}
58
void
VtkConsoleOutputWindow::PrintSelf
(ostream& os, vtkIndent indent) {
…
}
vtkStandardNewMacro
vtkStandardNewMacro(VtkConsoleOutputWindow)
VtkConsoleOutputWindow.h
VtkWin32ConsoleOutputWindow is used to suppress message boxes on Windows.
VtkConsoleOutputWindow
Definition
VtkConsoleOutputWindow.h:22
VtkConsoleOutputWindow::DisplayText
void DisplayText(const char *) override
Definition
VtkConsoleOutputWindow.cpp:32
VtkConsoleOutputWindow::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Definition
VtkConsoleOutputWindow.cpp:58
VtkConsoleOutputWindow::VtkConsoleOutputWindow
VtkConsoleOutputWindow()
VtkConsoleOutputWindow::~VtkConsoleOutputWindow
~VtkConsoleOutputWindow() override
Applications
DataExplorer
VtkVis
VtkConsoleOutputWindow.cpp
Generated by
1.12.0