StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
macros
graphics
Get3DSize.C
1
// $Id: Get3DSize.C,v 1.4 1999/05/21 15:58:44 kathy Exp $
2
// $Log: Get3DSize.C,v $
3
// Revision 1.4 1999/05/21 15:58:44 kathy
4
// fix name of owner on Get3DSize
5
//
6
// Revision 1.3 1999/05/21 15:33:50 kathy
7
// made sure Log & Id are in each file and also put in standard comment line with name of owner
8
//
9
//=======================================================================
10
// owner: Valery Fine
11
// what it does: This macro prints out the sizes of the sekected 3d pad
12
//=======================================================================
13
{
14
// This macro prints out the sizes of the sekected 3d pad
15
if
(gPad) {
16
TView *view = gPad->GetView();
17
Float_t min[3],max[3];
18
view->GetRange(min,max);
19
for
(
int
i=0;i<3; i++) printf(
"%d. min = %f, max = %f \n"
, i, min[i],max[i]);
20
}
21
else
22
printf(
" No 3 view has been created yet\n"
);
23
}
Generated by
1.8.5