18 #include "pandabase.h" 19 #include "transformState.h" 20 #include "speedtree_api.h" 21 #include "deg_2_rad.h" 32 STTransform(
const TransformState *trans);
33 INLINE STTransform(
const LPoint3 &pos, PN_stdfloat rotate = 0.0f, PN_stdfloat scale = 1.0f);
34 INLINE STTransform(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z, PN_stdfloat rotate, PN_stdfloat scale);
35 INLINE STTransform(
const STTransform ©);
36 INLINE
void operator = (
const STTransform ©);
39 INLINE STTransform(
const SpeedTree::CInstance &instance);
40 INLINE
operator SpeedTree::CInstance ()
const;
41 INLINE
operator CPT(TransformState) ()
const;
44 INLINE
static const STTransform &ident_mat();
46 INLINE
void set_pos(
const LPoint3 &pos);
47 INLINE
const LPoint3 &get_pos()
const;
48 INLINE
void set_rotate(PN_stdfloat rotate);
49 INLINE PN_stdfloat get_rotate()
const;
50 INLINE
void set_scale(PN_stdfloat scale);
51 INLINE PN_stdfloat get_scale()
const;
53 INLINE
void operator *= (
const STTransform &other);
54 INLINE STTransform operator * (
const STTransform &other)
const;
56 void output(ostream &out)
const;
67 static STTransform _ident_mat;
70 INLINE ostream &operator << (ostream &out,
const STTransform &transform) {
71 transform.output(out);
75 #include "stTransform.I" This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
A class to retrieve the individual data elements previously stored in a Datagram. ...
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...