GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
TimeObj Class Referenceabstract

#include <SeqApi.hh>

Collaboration diagram for TimeObj:

Public Member Functions

 TimeObj (SeqApi &api, float start_time, float duration)
void push_object (int idx)
void set_point (int point, float time, Point pos)
bool decide_visibility (float time) const
virtual P frame (float time) const

Protected Member Functions

virtual void set_points (float time, std::vector< Point > &points) const =0

Protected Attributes

SeqApi & api
float start_time
float duration
std::vector< int > objects
std::vector< P > objects_in_current_frame
std::vector< int > point_idx
std::vector< Point > points
std::vector< float > point_times

Constructor & Destructor Documentation

◆ TimeObj()

TimeObj::TimeObj ( SeqApi & api,
float start_time,
float duration )
inline

Member Function Documentation

◆ decide_visibility()

void TimeObj::decide_visibility ( float time) const

◆ frame()

P TimeObj::frame ( float time) const
virtual

◆ push_object()

void TimeObj::push_object ( int idx)
inline

◆ set_point()

void TimeObj::set_point ( int point,
float time,
Point pos )
inline

◆ set_points()

virtual void TimeObj::set_points ( float time,
std::vector< Point > & points ) const
protectedpure virtual
Here is the caller graph for this function:

Member Data Documentation

◆ api

SeqApi& TimeObj::api
protected

◆ duration

float TimeObj::duration
protected

◆ objects

std::vector<int> TimeObj::objects
protected

◆ objects_in_current_frame

std::vector<P> TimeObj::objects_in_current_frame
protected

◆ point_idx

std::vector<int> TimeObj::point_idx
protected

◆ point_times

std::vector<float> TimeObj::point_times
protected

◆ points

std::vector<Point> TimeObj::points
protected

◆ start_time

float TimeObj::start_time
protected

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