Public Member Functions | |
| MyScenery () | |
| ~MyScenery () | |
| void | Diddle () |
Private Attributes | |
| TRandom | rand |
|
|
Definition at line 22 of file test-Scene.cxx. References Diddle(). 00022 { this->Diddle(); }
|
|
|
Definition at line 23 of file test-Scene.cxx. 00023 {}
|
|
|
Definition at line 24 of file test-Scene.cxx. References rand. Referenced by MyScenery(). 00024 {
00025 this->ClearPrimitives();
00026 double x1 = rand.Uniform();
00027 double y1 = rand.Uniform();
00028 double x2 = rand.Uniform();
00029 double y2 = rand.Uniform();
00030 cerr << "Diddle the box: "
00031 << "(" << x1 << "," << y1 << ")-->"
00032 << "(" << x2 << "," << y2 << ")\n";
00033 TBox* box = new TBox(x1,y1,x2,y2);
00034 this->AddPrimitive(box);
00035 box->SetFillColor(rand.Integer(50));
00036 modified.emit();
00037 }
|
|
|
Definition at line 20 of file test-Scene.cxx. Referenced by Diddle(). |
1.3.9.1