Back to index

extremetuxracer  0.5beta
Classes | Functions
pp Namespace Reference

Classes

class  Color
 Color. More...
class  Matrix
class  Plane
class  Polygon
class  Polyhedron
class  Quat
 Quaternion. More...
class  BaseArgument
class  Argument0
class  Argument1
class  Argument2
class  BaseSlot
class  Slot0
class  Slot1
class  Slot2
class  BaseSignal
class  Signal0
class  Signal1
class  Signal2
class  Vec2d
class  Vec3d
 A 3D vector class. More...
class  Alignment
 A class for storing the alignment of an UI widget. More...
class  Button
class  CheckBox
class  Entry
class  Font
class  Frame
class  Image
class  ReaderPNG
class  WriterPPM
class  ReaderRGB
class  Label
class  Listbox
class  Model
class  Vertex
class  UV
class  Surface
class  Material
class  ModelObject
class  ModelAC
class  SSButton
class  Textarea
class  UIManager
class  Theme
class  Widget

Functions

template<class T >
BaseSlotCreateSlot (T *rcv, void(T::*sl)())
template<class T , class R1 >
BaseSlotCreateSlot (T *rcv, void(T::*sl)(R1))
template<class T , class R1 , class R2 >
BaseSlotCreateSlot (T *rcv, void(T::*sl)(R1, R2))
Vec2d operator+ (const Vec2d &vec1, const Vec2d &vec2)
Vec2d operator- (const Vec2d &vec1, const Vec2d &vec2)
Vec3d operator+ (const Vec3d &vec1, const Vec3d &vec2)
Vec3d operator- (const Vec3d &vec1, const Vec3d &vec2)
Vec3d operator* (const Vec3d &vec, const double scalar)
Vec3d operator* (const double scalar, const Vec3d &vec)
double operator* (const Vec3d &vec1, const Vec3d &vec2)
Vec3d operator^ (const Vec3d &vec1, const Vec3d &vec2)

Class Documentation

class pp::Polyhedron

Definition at line 35 of file poly.h.

Collaboration diagram for pp::Polyhedron:
Class Members
int num_polygons
int num_vertices
Polygon * polygons
Vec3d * vertices
class pp::Vertex

Definition at line 31 of file model_ac.h.

Collaboration diagram for pp::Vertex:
Class Members
Vec3d normal
Vec3d vec
class pp::UV

Definition at line 38 of file model_ac.h.

Class Members
double u
double v
class pp::Material

Definition at line 56 of file model_ac.h.

Collaboration diagram for pp::Material:
Class Members
Color ambient
Color diffuse
Color emissive
string name
double shininess
Color specular
double transparency

Function Documentation

template<class T >
BaseSlot* pp::CreateSlot ( T *  rcv,
void(T::*)()  sl 
)

Definition at line 245 of file signal.h.

{
       return new Slot0<T>(rcv,sl);
}

Here is the caller graph for this function:

template<class T , class R1 >
BaseSlot* pp::CreateSlot ( T *  rcv,
void(T::*)(R1)  sl 
)

Definition at line 251 of file signal.h.

{
       return new Slot1<T,R1>(rcv,sl);
}
template<class T , class R1 , class R2 >
BaseSlot* pp::CreateSlot ( T *  rcv,
void(T::*)(R1, R2)  sl 
)

Definition at line 257 of file signal.h.

{
       return new Slot2<T,R1,R2>(rcv,sl);
}
Vec3d pp::operator* ( const Vec3d &  vec,
const double  scalar 
)

Definition at line 81 of file vec3d.cpp.

{
       return Vec3d(vec.x*scalar,vec.y*scalar,vec.z*scalar);
}
Vec3d pp::operator* ( const double  scalar,
const Vec3d &  vec 
)

Definition at line 87 of file vec3d.cpp.

{
       return Vec3d(vec.x*scalar,vec.y*scalar,vec.z*scalar);
}
double pp::operator* ( const Vec3d &  vec1,
const Vec3d &  vec2 
)

Definition at line 93 of file vec3d.cpp.

{
       return vec1.x*vec2.x+vec1.y*vec2.y+vec1.z*vec2.z;
}
Vec2d pp::operator+ ( const Vec2d &  vec1,
const Vec2d &  vec2 
)

Definition at line 43 of file vec2d.cpp.

{
       return Vec2d(vec1.x+vec2.x,vec1.y+vec2.y);
}
Vec3d pp::operator+ ( const Vec3d &  vec1,
const Vec3d &  vec2 
)

Definition at line 69 of file vec3d.cpp.

{
       return Vec3d(vec1.x+vec2.x,vec1.y+vec2.y,vec1.z+vec2.z);
}
Vec2d pp::operator- ( const Vec2d &  vec1,
const Vec2d &  vec2 
)

Definition at line 49 of file vec2d.cpp.

{
       return Vec2d(vec1.x-vec2.x,vec1.y-vec2.y);
}
Vec3d pp::operator- ( const Vec3d &  vec1,
const Vec3d &  vec2 
)

Definition at line 75 of file vec3d.cpp.

{
       return Vec3d(vec1.x-vec2.x,vec1.y-vec2.y,vec1.z-vec2.z);
}
Vec3d pp::operator^ ( const Vec3d &  vec1,
const Vec3d &  vec2 
)

Definition at line 99 of file vec3d.cpp.

{
       return Vec3d(
              vec1.y * vec2.z - vec1.z * vec2.y,
              vec1.z * vec2.x - vec1.x * vec2.z,
              vec1.x * vec2.y - vec1.y * vec2.x
       );
}