Loris::PartialUtils::Cropper Class Reference

#include <PartialUtils.h>

List of all members.

Public Member Functions

 Cropper (double t1, double t2)
void operator() (Partial &p) const

Detailed Description

Trim a Partial by removing Breakpoints outside a specified time span. Insert a Breakpoint at the boundary when cropping occurs.


Constructor & Destructor Documentation

Loris::PartialUtils::Cropper::Cropper ( double  t1,
double  t2 
) [inline]

Construct a new Cropper from a pair of times (in seconds) representing the span of time to which Partials should be cropped.


Member Function Documentation

void Loris::PartialUtils::Cropper::operator() ( Partial p  )  const

Function call operator: crop the specified Partial. Trim a Partial by removing Breakpoints outside the span offset [minTime, maxTime]. Insert a Breakpoint at the boundary when cropping occurs.


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

Generated by  doxygen 1.6.2