AnimEngine
Public Member Functions | Public Attributes | List of all members
BaseCameraEntity Class Reference
Inheritance diagram for BaseCameraEntity:
Inheritance graph
[legend]
Collaboration diagram for BaseCameraEntity:
Collaboration graph
[legend]

Public Member Functions

 BaseCameraEntity (float fov, const glm::vec3 &loc)
 
 BaseCameraEntity (float fov, const glm::vec3 &loc, float near_plane, float far_plane)
 
virtual glm::vec3 getLocation () const override
 
virtual const PosegetPose () const override
 
virtual void setPose (const Pose &pose) override
 
virtual glm::mat4 getPerspective (float aspect) const override
 
virtual glm::mat4 getOrthographic () const override
 
glm::mat4 getOrthographic (float left, float right, float bottom, float top, float near_plane, float far_plane)
 
virtual glm::mat4 getView () const override
 
virtual glm::vec3 getViewDir () const override
 
virtual glm::vec3 getViewDir (const Pose &aPoseOverride) const override
 
virtual glm::mat4 getView (const Pose &aPoseOverride) const override
 
virtual void setNearPlane (float near_plane)
 
virtual void setFarPlane (float far_plane)
 
- Public Member Functions inherited from Entity
 Entity (const std::string &name)
 
const ent_uuid_t & UUID () const
 
const std::string & getName () const
 
void setName (const std::string &name)
 
void addChild (Entity *entity)
 
virtual void unlink ()
 
virtual void link (Entity *parent)
 
virtual Entityreplace (Entity *replacement)
 Replace the node in the tree with 'replacement' and return original node ('this')
 
const std::map< ent_uuid_t, Entity * > & getChildren () const
 
size_t numChildren () const
 
bool hasParent () const
 
EntitygetParent ()
 
const EntitygetParent () const
 
- Public Member Functions inherited from PosedComponent
virtual bool isPosed () const override
 
- Public Member Functions inherited from RootComponent
virtual bool isDrawable () const
 
- Public Member Functions inherited from PoseableComponent
virtual bool isPoseable () const override
 
- Public Member Functions inherited from CachedFinalPose
virtual const PosegetCachedFinalPose () const
 
virtual void setCachedFinalPose (const Pose &aPose)
 

Public Attributes

float fov
 
float near_plane
 
float far_plane
 
Pose pose
 
- Public Attributes inherited from Entity
unsigned int traversal_scratch = 0
 

Additional Inherited Members

- Protected Attributes inherited from Entity
std::string _name
 
Entity_parent = nullptr
 
std::map< ent_uuid_t, Entity * > _children
 
- Protected Attributes inherited from CachedFinalPose
Pose _mCachedFinalPose
 

The documentation for this class was generated from the following files: