geObject3D

From GriffinEngine
Jump to: navigation, search

Abstract class that represents a 3D object in the scene graph.

Usage

Inheritance

Base classes

Derived classes


Reference

Accessors

  •  virtual int getID();
  •  float3& Position();
  •  float3& Velocity();
  •  float3& Scale();
  •  float& Rotation();
  •  geBoundingBox& BoundingBox();

Methods

  •  bool Intersects( geBoundingBox &bound);
  •  bool Intersects( geBoundingSphere &bound);
  •  void Update();

Scene graph functionality

  •  matrix4 getTransform();
  •  vector<geObject3D*>* getChildren();
  •  geObject3D* getParent();
  •  void setParent( geObject3D* value );
  •  void localToGlobal( const float3* local, float3* global );
  •  void globalToLocal( const float3* global, float3* local );

Operators

  •  void operator+=(geObject3D* object);
  •  void operator-=(geObject3D* object);