Panda3D
cLwoSurfaceBlockTMap.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file cLwoSurfaceBlockTMap.h
10  * @author drose
11  * @date 2001-04-30
12  */
13 
14 #ifndef CLWOSURFACEBLOCKTMAP_H
15 #define CLWOSURFACEBLOCKTMAP_H
16 
17 #include "pandatoolbase.h"
18 
19 #include "lwoSurfaceBlockTMap.h"
21 
22 #include "luse.h"
23 
24 class LwoToEggConverter;
25 
26 /**
27  * This class is a wrapper around LwoSurfaceBlockTMap and stores additional
28  * information useful during the conversion-to-egg process.
29  */
31 public:
33 
34  void get_transform(LMatrix4d &mat) const;
35 
36  LPoint3 _center;
37  LVecBase3 _size;
38  LVecBase3 _rotation;
39 
40  std::string _reference_object;
41 
42  LwoSurfaceBlockCoordSys::Type _csys;
43 
44  LwoToEggConverter *_converter;
45  CPT(LwoSurfaceBlockTMap) _tmap;
46 };
47 
48 #include "cLwoSurfaceBlockTMap.I"
49 
50 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The tMap chunk within a LwoSurfaceBlock chunk.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void get_transform(LMatrix4d &mat) const
Fills up the indicated matrix with the net transform indicated by the TMAP chunk, accounting for scal...
This class supervises the construction of an EggData structure from the data represented by the LwoHe...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is a wrapper around LwoSurfaceBlockTMap and stores additional information useful during th...