Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
datareps
DataRepFactory.cxx
Go to the documentation of this file.
1
12
// for truncation warning in debug mode
13
#ifdef _MSC_VER
14
#include "msdevstudio/MSconfig.h"
15
#endif
16
17
#include "
DataRepFactory.h
"
18
19
// A list of default DataReps.
20
#include "
ColorPlot.h
"
21
#include "
ContourPlot.h
"
22
#include "
Profile2D.h
"
23
#include "
ProfileContour.h
"
24
#include "
DyHistogram.h
"
25
#include "
DyHistogramEqualEntries.h
"
26
#include "
Image.h
"
27
#include "
LineDataRep.h
"
28
#include "
ProfileHist.h
"
29
#include "
ScatterPlot.h
"
30
#include "
St1DHistogram.h
"
31
#include "
St2DHistogram.h
"
32
#include "
StripChart.h
"
33
#include "
VariableMesh.h
"
34
#include "
XYPlot.h
"
35
#include "
XYZPlot.h
"
36
#include "
YPlot.h
"
37
38
using namespace
hippodraw;
39
40
DataRepFactory
*
DataRepFactory::s_instance
= 0;
41
42
DataRepFactory::DataRepFactory
( )
43
{
44
}
45
46
DataRepFactory::
47
~DataRepFactory
()
48
{
49
}
50
51
DataRepFactory
*
DataRepFactory::instance
()
52
{
53
if
(
s_instance
== 0 ) {
54
s_instance
=
new
DataRepFactory
( );
55
s_instance
->
initialize
();
56
}
57
return
s_instance
;
58
}
59
60
61
void
DataRepFactory::initialize
()
62
{
63
add
(
new
ColorPlot
() );
64
add
(
new
ContourPlot
() );
65
add
(
new
Profile2D
() );
66
add
(
new
ProfileContour
() );
67
add
(
new
DyHistogram
() );
68
add
(
new
DyHistogramEqualEntries
() );
69
add
(
new
Image
() );
70
add
(
new
LineDataRep
() );
71
add
(
new
ProfileHist
() );
72
add
(
new
ScatterPlot
() );
73
add
(
new
St1DHistogram
() );
74
add
(
new
St2DHistogram
() );
75
add
(
new
StripChart
() );
76
add
(
new
VariableMesh
() );
77
add
(
new
XYPlot
() );
78
add
(
new
XYZPlot
() );
79
add
(
new
YPlot
() );
80
}
Generated for HippoDraw Class Library by