BinToColorFactory.cxx
Go to the documentation of this file.
1 
12 #ifdef _MSC_VER
13 // A long identifier warning.
14 #include "msdevstudio/MSconfig.h"
15 #endif
16 
17 #include "BinToColorFactory.h"
18 
19 // A list of default BinToColors.
20 #include "BinToBeach.h"
21 #include "BinToBlack.h"
22 #include "BinToBluePastel.h"
23 #include "BinToBlueRed.h"
24 #include "BinToBlueWhite.h"
25 #include "BinToEosA.h"
26 #include "BinToEosB.h"
27 #include "BinToBWLinear.h"
28 #include "BinToRainbow.h"
29 #include "BinToHardCandy.h"
30 #include "BinToKamaeScale.h"
31 #include "BinToHaze.h"
32 #include "BinToHueSatLight1.h"
33 #include "BinToHueSatLight2.h"
34 #include "BinToHueSatValue1.h"
35 #include "BinToHueSatValue2.h"
36 #include "BinTo3ColorScale.h"
37 #include "BinToGreyScale.h"
38 #include "BinToMovingBrkPt.h"
40 #include "BinToFullColorScale.h"
41 #include "BinToGRBW.h"
42 #include "BinToMacStyle.h"
43 #include "BinToNature.h"
44 #include "BinToOcean.h"
45 #include "BinToPastels.h"
46 #include "BinToPeppermint.h"
47 #include "BinToRedPurple.h"
48 #include "BinToRedTemp.h"
49 #include "BinToStern.h"
50 #include "BinToUsrDefinedScale.h"
51 #include "BinToGamma.h"
52 #include "BinToGWExpon.h"
53 #include "BinToGWLinear.h"
54 #include "BinToGPink.h"
55 #include "BinToLineStyle.h"
56 #include "BinToPrism.h"
57 #include "BinToPurpleRed.h"
58 #include "BinToRainbowIDL.h"
59 #include "BinToBGRY.h"
60 #include "BinToStdGamma2.h"
61 
62 namespace hippodraw {
63 
64 BinToColorFactory * BinToColorFactory::s_instance = 0;
65 
67 {
68 }
69 
71 {
72  if ( s_instance == 0 ) {
75  }
76  return s_instance;
77 }
78 
80 {
81  add ( new BinToBeach ( "Beach" ) );
82  add ( new BinToRainbow ( "Rainbow" ) );
83  add ( new BinToEosA ( "Eos A" ) );
84  add ( new BinToEosB ( "Eos B" ) );
85  add ( new BinToHardCandy ( "Hard Candy" ) );
86  add ( new BinToKamaeScale ( "Kamae" ) );
87  add ( new BinTo3ColorScale ( "3 Color" ) );
88  add ( new BinToGreyScale ( "Grey scale" ) );
89  add ( new BinToColorScaleMovingBrkPt ( "Variable rainbow" ) );
90  add ( new BinToMovingBrkPt ( "Variable 3 color" ) );
91  add ( new BinToFullColorScale ( "Full Rainbow" ) );
92  add ( new BinToGRBW ( "Grn-Red-Blue-White" ) );
93  add ( new BinToBlack ( "All black" ) );
94  add ( new BinToBluePastel ( "Blue- Pastel-Red" ) );
95  add ( new BinToBlueRed ( "Blue-Red" ) );
96  add ( new BinToBWLinear ( "Black-White" ) );
97  add ( new BinToBlueWhite ( "Blue-White" ) );
98  add ( new BinToPrism ( "Prism" ) );
99  add ( new BinToGamma ( "Gamma Correction" ) );
100  add ( new BinToHaze ( "Haze" ) );
101  add ( new BinToPastels ( "Pastels" ) );
102  add ( new BinToPeppermint ( "Peppermint" ) );
103  add ( new BinToOcean ( "Ocean" ) );
104  add ( new BinToGPink ( "Green-Pink" ) );
105  add ( new BinToGWExpon ( "Green-White Exp." ) );
106  add ( new BinToGWLinear ( "Green-White Lin." ) );
107  add ( new BinToHueSatLight1 ( "Hue Sat. Lightness 1" ) );
108  add ( new BinToHueSatLight2 ( "Hue Sat. Lightness 2" ) );
109  add ( new BinToHueSatValue1 ( "Hue Sat. Value 1" ) );
110  add ( new BinToHueSatValue2 ( "Hue Sat. Value 2" ) );
111  add ( new BinToMacStyle ( "Mac Style" ) );
112  add ( new BinToNature ( "Nature" ) );
113  add ( new BinToLineStyle ( "Line Style") );
114  add ( new BinToPurpleRed ( "Purple - Red + Strips" ) );
115  add ( new BinToRainbowIDL ( "Rainbow IDL" ) );
116  add ( new BinToRedPurple ( "Red-Purple" ) );
117  add ( new BinToRedTemp ( "Red Temperature" ) );
118  add ( new BinToStern ( "Stern Special" ) );
119  add ( new BinToBGRY ( "Blue-Green-Red-Yellow" ) );
120  add ( new BinToStdGamma2 ("Std Gamma II" ) );
121 }
122 
123 } // namespace hippodraw
This class implements a value to Prism color transform.
This class implements a value to Prism color transform.
Definition: BinToGPink.h:26
BinToEosA class interface.
This class implements a value to Prism color transform.
This class implements a value to Prism color transform.
Definition: BinToBlueRed.h:26
BinToEosA class interface.
BinToBlueWhite class interface.
BinTo3ColorScale class interface.
BinToUsrDefinedScale class interface.
This class implements a value to pastel colors.
BinToStern class interface.
static BinToColorFactory * instance()
Returns a pointer to the singleton instance.
BinToEosA class interface.
This class implements a value to pastel colors.
BinToGamma class interface.
This class implements a value to pastel colors.
Definition: BinToEosA.h:26
The class derived from the BinToColor class.
BinToBluePastel class interface.
BinToBlack class interface.
The class derived from the BinToColor class.
BinToEosA class interface.
The class derived from the BinToColor class.
Definition: BinToGamma.h:29
BinToHueSatValue1 class interface.
This class implements a value to nature colors.
Definition: BinToOcean.h:26
This class implements a value to Prism color transform.
BinToGWExpon class interface.
The class derived from the BinToColor class.
void add(BinToColor *)
Adds a prototype object to the list of prototypes.
BinToEosA class interface.
The class derived from the BinToColor class.
BinToEosA class interface.
BinToStdGamma2 class interface.
This class implements a value to Prism color transform.
Definition: BinToPrism.h:26
BinToBlueWhite class interface.
This class implements a value to pastel colors.
BinToMacStyle class interface.
Namespace for HippoDraw.
Definition: AxesType.cxx:21
BinToColorFactory()
A default constructor for prevent creation except by itself.
BinToHueSatLight1 class interface.
This class implements a value to nature colors.
BinToHaze class interface.
static BinToColorFactory * s_instance
A pointer to the singleton object.
BinToRedPurple class interface.
This class implements a value to nature colors.
Definition: BinToNature.h:26
The class derived from the BinToColor class.
Definition: BinToBWLinear.h:30
BinToPastels class interface.
BinToBWLinear class interface.
This class implements a value to pastel colors.
Definition: BinToMacStyle.h:27
BinToEosA class interface.
BinToBeach class interface.
This class implements a value to pastel colors.
BinToGPink class interface.
The class derived from the BinToColor class.
hippodraw::BinToColorScaleMovingBrkPt class interface
The class derived from the BinToColor class.
Definition: BinToBlack.h:30
BinToBlueRed class interface.
This class implements a value to pastel colors.
Definition: BinToBeach.h:27
void initialize()
Initializes the factory with a set of default BinToColors.
This class implements a value to Prism color transform.
Definition: BinToGRBW.h:26
BinToHueSatValue2 class interface.
This class implements a value to nature colors.
The class derived from the BinToColor class.
BinToGWLinear class interface.
This class implements a value to Prism color transform.
Definition: BinToHaze.h:26
BinToColorScale class interface.
This class implements a value to Prism color transform.
Definition: BinToGWLinear.h:26
BinToColorFactory class interface.
A factory for creation of objects whose class is derived from BinToColor.
This class implements a value to nature colors.
Definition: BinToRainbow.h:26
BinToPurpleRed class interface.
This class implements a value to pastel colors.
BinToMovingBrkPt class interface.
This class implements a value to Prism color transform.
Definition: BinToStern.h:26
This class implements a value to pastel colors.
Definition: BinToEosB.h:26
BinToHueSatLight2 class interface.
This class implements a value to Prism color transform.
Definition: BinToRedTemp.h:26
This class implements a value to Prism color transform.
Definition: BinToBGRY.h:26
BinToGreyScale class interface.
The class derived from the BinToColor class.
The class derived from the BinToColor class.
BinToBlueWhite class interface.
BinToRedTemp class interface.
This class implements a value to pastel colors.
Definition: BinToPastels.h:26
BinToEosA class interface.
This class implements a value to pastel colors.
BinToLineStyle class interface.
BinToBGRY class interface.
This class implements a value to Prism color transform.
Definition: BinToGWExpon.h:26
BinToKamaeScale class interface.

Generated for HippoDraw Class Library by doxygen