00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef EGGVERTEXAUX_H
00016 #define EGGVERTEXAUX_H
00017
00018 #include "pandabase.h"
00019
00020 #include "eggMorphList.h"
00021 #include "eggNamedObject.h"
00022
00023 #include "luse.h"
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 class EXPCL_PANDAEGG EggVertexAux : public EggNamedObject {
00034 PUBLISHED:
00035 EggVertexAux(const string &name, const LVecBase4d &aux);
00036 EggVertexAux(const EggVertexAux ©);
00037 EggVertexAux &operator = (const EggVertexAux ©);
00038 virtual ~EggVertexAux();
00039
00040 INLINE void set_name(const string &name);
00041
00042 INLINE const LVecBase4d &get_aux() const;
00043 INLINE void set_aux(const LVecBase4d &aux);
00044
00045 void write(ostream &out, int indent_level) const;
00046 int compare_to(const EggVertexAux &other) const;
00047
00048 private:
00049 LVecBase4d _aux;
00050
00051 public:
00052 static TypeHandle get_class_type() {
00053 return _type_handle;
00054 }
00055 static void init_type() {
00056 EggNamedObject::init_type();
00057 register_type(_type_handle, "EggVertexAux",
00058 EggNamedObject::get_class_type());
00059 }
00060 virtual TypeHandle get_type() const {
00061 return get_class_type();
00062 }
00063 virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
00064
00065 private:
00066 static TypeHandle _type_handle;
00067 };
00068
00069 #include "eggVertexAux.I"
00070
00071 #endif
00072