15 #ifndef CDISTRIBUTEDSMOOTHNODEBASE_H 16 #define CDISTRIBUTEDSMOOTHNODEBASE_H 18 #include "directbase.h" 23 #include "clockObject.h" 41 bool is_ai, CHANNEL_TYPE ai_id);
45 set_clock_delta(PyObject *clock_delta);
51 void send_everything();
53 void broadcast_pos_hpr_full();
54 void broadcast_pos_hpr_xyh();
55 void broadcast_pos_hpr_xy();
57 void set_curr_l(PN_uint64 l);
61 INLINE
static bool only_changed(
int flags,
int compare);
63 INLINE
void d_setSmStop();
64 INLINE
void d_setSmH(PN_stdfloat h);
65 INLINE
void d_setSmZ(PN_stdfloat z);
66 INLINE
void d_setSmXY(PN_stdfloat x, PN_stdfloat y);
67 INLINE
void d_setSmXZ(PN_stdfloat x, PN_stdfloat z);
68 INLINE
void d_setSmPos(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z);
69 INLINE
void d_setSmHpr(PN_stdfloat h, PN_stdfloat p, PN_stdfloat r);
70 INLINE
void d_setSmXYH(PN_stdfloat x, PN_stdfloat y, PN_stdfloat h);
71 INLINE
void d_setSmXYZH(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z, PN_stdfloat h);
72 INLINE
void d_setSmPosHpr(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z, PN_stdfloat h, PN_stdfloat p, PN_stdfloat r);
73 INLINE
void d_setSmPosHprL(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z, PN_stdfloat h, PN_stdfloat p, PN_stdfloat r, PN_uint64 l);
75 void begin_send_update(
DCPacker &packer,
const string &field_name);
76 void finish_send_update(
DCPacker &packer);
95 PyObject *_clock_delta;
106 #include "cDistributedSmoothNodeBase.I" 108 #endif // CDISTRIBUTEDSMOOTHNODEBASE_H This is the base class for all three-component vectors and points.
Defines a particular DistributedClass as read from an input .dc file.
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
This class defines some basic methods of DistributedSmoothNodeBase which have been moved into C++ as ...
This class can be used for packing a series of numeric and string data into a binary stream...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
This class implements the C++ side of the ConnectionRepository object.