Fovia's Java Client/Server API
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame Class Reference

Public Member Functions

 hdrcMovieMakerKeyFrame (RENDER_PARAMS parms, double segmentLength, int interpType)
 
 hdrcMovieMakerKeyFrame (RENDER_PARAMS parms1, RENDER_PARAMS parms2, int windowType, double segmentLength, int interpType)
 
 hdrcMovieMakerKeyFrame (RENDER_PARAMS parms1, RENDER_RANGE_PARAMS upperTFs1[][], RENDER_PARAMS parms2, RENDER_RANGE_PARAMS upperTFs2[][], int windowType, double segmentLength, int interpType)
 
void load (DataInputStream dis) throws IOException
 
void load (DataInputStream dis, int version) throws IOException
 
void load (DataInputStream dis, int version, int numTFs) throws IOException
 
void save (DataOutputStream dos) throws IOException
 
void save (DataOutputStream dos, int version) throws IOException
 
void save17 (DataOutputStream dos) throws IOException
 
void save18 (DataOutputStream dos) throws IOException
 

Public Attributes

double m_actualDist
 
int m_frameIdx
 
int m_interpType
 
RENDER_PARAMS m_parms1
 
RENDER_PARAMS m_parms2
 
double m_segmentLength
 
double m_segmentStart
 
double m_travelDist
 
RENDER_RANGE_PARAMS m_upperTFs1 [][]
 
RENDER_RANGE_PARAMS m_upperTFs2 [][]
 
int m_windowType
 

Static Public Attributes

static final int MMKF_INTERP_B_SPLINE = 2
 
static final int MMKF_INTERP_CATMULL_ROM = 1
 
static final int MMKF_INTERP_LINEAR = 0
 

Protected Member Functions

RENDER_RANGE_PARAMS[][] cloneTFs (RENDER_RANGE_PARAMS toClone[][])
 

Detailed Description

Sperifies a key frame to be put in an hdrcMovie.

Constructor & Destructor Documentation

com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.hdrcMovieMakerKeyFrame ( RENDER_PARAMS  parms,
double  segmentLength,
int  interpType 
)

Utility constructor.

Member Data Documentation

double com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.m_actualDist

How far are we into the full path based upon the RPM_TRANSFORM_OFFSET parameter and the m_interpType. Set by hdrcMovie.

int com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.m_frameIdx

Set by hdrcMovie.

int com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.m_interpType

The type of interpolation to use.

Referenced by com.fovia.hdrc.movie.hdrcMovie.getFrame().

RENDER_PARAMS com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.m_parms1

The state if the engine at this key frame.

Referenced by com.fovia.hdrc.movie.hdrcMovie.getFrame().

double com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.m_segmentLength

Length of the segment in seconds

Referenced by com.fovia.hdrc.movie.hdrcMovie.getFrame().

double com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.m_segmentStart

Set by hdrcMovie while maintaining itself.

double com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.m_travelDist

How far do we travel based upon the RPM_TRANSFORM_OFFSET parameter and the m_interpType. Set by hdrcMovie.

final int com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.MMKF_INTERP_B_SPLINE = 2
static

Projection plane positions are interpolated via the B-Spline function. Note that control points are NOT the center of the path for this type of interpolation.

final int com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.MMKF_INTERP_CATMULL_ROM = 1
static

Projection plane positions are interpolated via the catmull rom spline function.

Referenced by com.fovia.hdrc.movie.hdrcMovie.getFrame().

final int com.fovia.hdrc.movie.hdrcMovieMakerKeyFrame.MMKF_INTERP_LINEAR = 0
static

Projection plane positions are interpolated linearly.