Panda3D
Loading...
Searching...
No Matches
pta_LMatrix3.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 pta_LMatrix3.h
10 * @author drose
11 * @date 2010-02-27
12 */
13
14#ifndef PTA_LMATRIX3_H
15#define PTA_LMATRIX3_H
16
17#include "pandabase.h"
18#include "luse.h"
19#include "pointerToArray.h"
20
21/**
22 * A pta of LMatrix3fs. This class is defined once here, and exported to
23 * PANDA.DLL; other packages that want to use a pta of this type (whether they
24 * need to export it or not) should include this header file, rather than
25 * defining the pta again.
26 */
27
28EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToBase<ReferenceCountedVector<LMatrix3f> >)
29EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArrayBase<LMatrix3f>)
30EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArray<LMatrix3f>)
31EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, ConstPointerToArray<LMatrix3f>)
32
33typedef PointerToArray<LMatrix3f> PTA_LMatrix3f;
34typedef ConstPointerToArray<LMatrix3f> CPTA_LMatrix3f;
35
36/**
37 * A pta of LMatrix3ds. This class is defined once here, and exported to
38 * PANDA.DLL; other packages that want to use a pta of this type (whether they
39 * need to export it or not) should include this header file, rather than
40 * defining the pta again.
41 */
42
43EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToBase<ReferenceCountedVector<LMatrix3d> >)
44EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArrayBase<LMatrix3d>)
45EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArray<LMatrix3d>)
46EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, ConstPointerToArray<LMatrix3d>)
47
48typedef PointerToArray<LMatrix3d> PTA_LMatrix3d;
49typedef ConstPointerToArray<LMatrix3d> CPTA_LMatrix3d;
50
51#ifndef STDFLOAT_DOUBLE
52typedef PTA_LMatrix3f PTA_LMatrix3;
54#else
55typedef PTA_LMatrix3d PTA_LMatrix3;
57#endif // STDFLOAT_DOUBLE
58
59// Bogus typedefs for interrogate and legacy Python code.
60#ifdef CPPPARSER
61typedef PTA_LMatrix3 PTAMat3;
62typedef CPTA_LMatrix3 CPTAMat3;
63typedef PTA_LMatrix3d PTAMat3d;
64typedef CPTA_LMatrix3d CPTAMat3d;
65#endif // CPPPARSER
66
67#endif
Similar to PointerToArray, except that its contents may not be modified.
This is the base class for PointerToArray and ConstPointerToArray.
A special kind of PointerTo that stores an array of the indicated element type, instead of a single e...
This is the base class for PointerTo and ConstPointerTo.
This defines the object that is actually stored and reference-counted internally by a PointerToArray.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToBase< ReferenceCountedVector< LMatrix3f > >) EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL
A pta of LMatrix3fs.