Namespaces |
| namespace | app |
| namespace | audio |
| namespace | cocoa |
| namespace | gl |
| namespace | ip |
| namespace | params |
| namespace | qtime |
| namespace | svg |
| namespace | signals |
Classes |
| class | Arcball |
| class | Area |
| class | AxisAlignedBox3f |
| class | BandedMatrix |
| class | BSplineBasis |
| class | BSpline |
| class | Buffer |
| class | Camera |
| class | CameraPersp |
| class | CameraOrtho |
| class | CameraStereo |
| class | Capture |
| class | CaptureImplAvFoundationDevice |
| class | CaptureImplCocoaDummyDevice |
| | This class implements a stubbed-out Capture implementation in order to allow an iOS app which requires capture support to run in the simulator. More...
|
| class | CaptureImplDirectShow |
| class | CaptureImplQtKitDevice |
| class | ChannelT |
| | A single channel of image data, either a color channel of a Surface or a grayscale image. Implicitly shared object. More...
|
| struct | CHANTRAIT |
| struct | CHANTRAIT< uint8_t > |
| struct | CHANTRAIT< uint16_t > |
| struct | CHANTRAIT< float > |
| struct | math |
| struct | math< float > |
| class | Clipboard |
| | Singleton representing the system's clipboard. More...
|
| class | ColorT |
| class | ColorAT |
| class | ConcurrentCircularBuffer |
| class | DataSource |
| class | DataSourcePath |
| class | DataSourceUrl |
| class | DataSourceBuffer |
| class | DataTarget |
| class | DataTargetPath |
| class | DataTargetStream |
| class | Display |
| struct | EaseNone |
| | Easing equation for a simple linear tweening with no easing. Functor edition. More...
|
| struct | EaseInQuad |
| | Easing equation for a quadratic (t^2) ease-in, accelerating from zero velocity. Functor edition. More...
|
| struct | EaseOutQuad |
| | Easing equation for a quadratic (t^2) ease-out, decelerating to zero velocity. Functor edition. More...
|
| struct | EaseInOutQuad |
| | Easing equation for a quadratic (t^2) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More...
|
| struct | EaseOutInQuad |
| | Easing equation for a quadratic (t^2) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More...
|
| struct | EaseInCubic |
| | Easing equation function for a cubic (t^3) ease-in, accelerating from zero velocity. Functor edition. More...
|
| struct | EaseOutCubic |
| | Easing equation for a cubic (t^3) ease-out, decelerating to zero velocity. Functor edition. More...
|
| struct | EaseInOutCubic |
| | Easing equation for a cubic (t^3) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More...
|
| struct | EaseOutInCubic |
| | Easing equation for a cubic (t^3) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More...
|
| struct | EaseInQuart |
| | Easing equation for a quartic (t^4) ease-in, accelerating from zero velocity. Functor edition. More...
|
| struct | EaseOutQuart |
| | Easing equation for a quartic (t^4) ease-out, decelerating to zero velocity. Functor edition;. More...
|
| struct | EaseInOutQuart |
| | Easing equation for a quartic (t^4) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More...
|
| struct | EaseOutInQuart |
| | Easing equation for a quartic (t^4) ease-out/in, decelerating until halfway, then accelerating. Funtor edition. More...
|
| struct | EaseInQuint |
| | Easing equation function for a quintic (t^5) ease-in, accelerating from zero velocity. Functor edition. More...
|
| struct | EaseOutQuint |
| | Easing equation function for a quintic (t^5) ease-in, accelerating from zero velocity. Functor edition. More...
|
| struct | EaseInOutQuint |
| | Easing equation for a quintic (t^5) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More...
|
| struct | EaseOutInQuint |
| | Easing equation for a quintic (t^5) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More...
|
| struct | EaseInSine |
| | Easing equation for a sinusoidal (sin(t)) ease-in, accelerating from zero velocity. Functor edition. More...
|
| struct | EaseOutSine |
| | Easing equation for a sinusoidal (sin(t)) easing out, decelerating from zero velocity. Functor edition. More...
|
| struct | EaseInOutSine |
| | Easing equation for a sinusoidal (sin(t)) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More...
|
| struct | EaseOutInSine |
| | Easing equation for a sinusoidal (sin(t)) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More...
|
| struct | EaseInExpo |
| | Easing equation for an exponential (2^t) ease-in, accelerating from zero velocity. Functor edition. More...
|
| struct | EaseOutExpo |
| | Easing equation for an exponential (2^t) ease-out, decelerating from zero velocity. Functor edition. More...
|
| struct | EaseInOutExpo |
| | Easing equation for an exponential (2^t) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More...
|
| struct | EaseOutInExpo |
| | Easing equation for an exponential (2^t) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More...
|
| struct | EaseInCirc |
| | Easing equation for a circular (sqrt(1-t^2)) ease-in, accelerating from zero velocity. Functor edition. More...
|
| struct | EaseOutCirc |
| | Easing equation for a circular (sqrt(1-t^2)) ease-out, decelerating from zero velocity. Functor edition. More...
|
| struct | EaseInOutCirc |
| | Easing equation for a circular (sqrt(1-t^2)) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More...
|
| struct | EaseOutInCirc |
| | Easing equation for a circular (sqrt(1-t^2)) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More...
|
| struct | EaseInBounce |
| | Easing equation for a bounce (exponentially decaying parabolic bounce) ease-in, accelerating from zero velocity. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More...
|
| struct | EaseOutBounce |
| | Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out, decelerating from zero velocity. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More...
|
| struct | EaseInOutBounce |
| | Easing equation for a bounce (exponentially decaying parabolic bounce) ease-in/out, accelerating until halfway, then decelerating. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More...
|
| struct | EaseOutInBounce |
| | Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out/in, decelerating until halfway, then accelerating. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More...
|
| struct | EaseInBack |
| | Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-in, accelerating from zero velocity. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More...
|
| struct | EaseOutBack |
| | Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-out, decelerating from zero velocity. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More...
|
| struct | EaseInOutBack |
| | Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-in/out, accelerating until halfway, then decelerating. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More...
|
| struct | EaseOutInBack |
| | Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-out/in, decelerating until halfway, then accelerating. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More...
|
| struct | EaseInElastic |
| | Easing equation for an elastic (exponentially decaying sine wave) ease-in, accelerating from zero velocity. Functor edition. More...
|
| struct | EaseOutElastic |
| | Easing equation for an elastic (exponentially decaying sine wave) ease-out, decelerating from zero velocity. Functor edition. More...
|
| struct | EaseInOutElastic |
| | Easing equation for an elastic (exponentially decaying sine wave) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More...
|
| struct | EaseOutInElastic |
| | Easing equation for an elastic (exponentially decaying sine wave) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More...
|
| struct | EaseInAtan |
| | Easing equation for an atan ease-in, accelerating from zero velocity. Functor edition. Used by permssion from Chris McKenzie. More...
|
| struct | EaseOutAtan |
| | Easing equation for an atan ease-out, decelerating from zero velocity. Functor edition. Used by permssion from Chris McKenzie. More...
|
| struct | EaseInOutAtan |
| | Easing equation for an atan ease-in/out, accelerating until halfway, then decelerating. Functor edition. Used by permssion from Chris McKenzie. More...
|
| class | Exception |
| class | FilterBase |
| class | FilterBox |
| class | FilterTriangle |
| class | FilterQuadratic |
| class | FilterCubic |
| class | FilterCatmullRom |
| class | FilterMitchell |
| class | FilterSincBlackman |
| class | FilterGaussian |
| class | FilterBesselBlackman |
| class | Font |
| | Represents an instance of a font at a point size. Implicitly shared object. More...
|
| class | FontInvalidNameExc |
| class | FontGlyphFailureExc |
| class | Frustum |
| class | CallbackMgr |
| | Implements a utility class for maintaining a list of callbacks. More...
|
| class | ImageIo |
| class | ImageSource |
| class | ImageTarget |
| class | ImageIoException |
| class | ImageIoExceptionFailedLoad |
| class | ImageIoExceptionFailedWrite |
| class | ImageIoExceptionUnknownExtension |
| class | ImageIoExceptionIllegalColorModel |
| class | ImageIoExceptionIllegalDataType |
| class | ImageIoExceptionIllegalChannelOrder |
| struct | ImageIoRegistrar |
| struct | ImageIoRegistrant |
| class | ImageSourceFileQuartz |
| class | ImageSourceFileWic |
| class | ImageSourcePng |
| class | ImageTargetFileQuartz |
| class | ImageTargetFileWic |
| class | JsonTree |
| struct | KdNode |
| struct | NullLookupProc |
| class | KdTree |
| struct | NodeDataVectorTraits |
| struct | NodeDataTraits |
| struct | NodeDataTraits< Vec2f > |
| struct | CompareNode |
| class | Matrix22 |
| class | Matrix33 |
| class | Matrix44 |
| class | MatrixAffine2 |
| | Represents a two dimensional affine transformation. More...
|
| class | MayaCamUI |
| class | ObjLoader |
| | Loads Alias|Wavefront .OBJ file format. More...
|
| class | Path2d |
| class | Path2dExc |
| class | Perlin |
| class | Plane |
| class | PlaneExc |
| class | PolyLine |
| struct | QUATCONV |
| class | Quaternion |
| class | Rand |
| class | Ray |
| class | RectT |
| class | RectMapping |
| class | Serial |
| class | SerialExc |
| class | SerialExcOpenFailed |
| class | SerialExcDeviceEnumerationFailed |
| class | SerialExcReadFailure |
| class | SerialExcWriteFailure |
| class | SerialTimeoutExc |
| class | Shape2d |
| class | Sphere |
| class | StreamBase |
| class | OStream |
| class | IStream |
| class | IoStream |
| class | IStreamFile |
| class | OStreamFile |
| class | IoStreamFile |
| class | IStreamMem |
| class | OStreamMem |
| class | IStreamStateRestore |
| class | StreamExc |
| class | StreamExcOutOfMemory |
| class | cinder_stream_source |
| class | cinder_stream_sink |
| class | cinder_stream_bidirectional_device |
| class | SurfaceChannelOrder |
| | Specifies the in-memory ordering of the channels of a Surface. More...
|
| class | SurfaceConstraints |
| | Base class for defining the properties of a Surface necessary to be interoperable with different APIs. More...
|
| class | SurfaceConstraintsDefault |
| class | SurfaceT |
| | An in-memory representation of an image. Implicitly shared object. More...
|
| class | SurfaceExc |
| class | SurfaceConstraintsExc |
| class | SvgRendererGl |
| class | System |
| | Queries system software and hardware capabilities of the computer. Values are cached so there is low overhead in calling these functions more than once. More...
|
| class | SystemExc |
| class | SystemExcFailedQuery |
| class | TextLayout |
| class | TextBox |
| class | ThreadSetup |
| | Create an instance of this class at the beginning of any multithreaded code that makes use of Cinder functionality. More...
|
| class | Timeline |
| class | Cue |
| class | TimelineItem |
| | Base interface for anything that can go on a Timeline. More...
|
| class | Timer |
| | A high-resolution timer class. More...
|
| class | Triangulator |
| | Converts an arbitrary Shape2d into a TriMesh2d. More...
|
| class | TriMesh |
| class | TriMesh2d |
| class | TweenBase |
| class | TweenRef |
| class | Tween |
| class | FnTween |
| class | FnTweenRef |
| class | AnimBase |
| class | Anim |
| class | Url |
| class | UrlOptions |
| | Options for loadUrl() to dictate caching and timeout behavior. More...
|
| class | IStreamUrl |
| class | UrlLoadExc |
| | Exception for failed Url loading. More...
|
| class | IStreamUrlImplCurl |
| class | IStreamUrlImplWinInet |
| class | Vec2 |
| class | Vec3 |
| class | Vec4 |
| class | XmlTree |
Typedefs |
| typedef BSplineFit< float > | BSplineFitf |
| typedef BSplineFit< double > | BSplineFitd |
| typedef BSplineFitBasis< float > | BSplineFitBasisf |
| typedef BSplineFitBasis< double > | BSplineFitBasisd |
typedef
boost::geometry::model::polygon
< boost::geometry::model::d2::point_xy
< double > > | polygon |
typedef struct
cinder::_LOGICALPROCESSORDATA | LOGICALPROCESSORDATA |
typedef struct
cinder::_LOGICALPROCESSORDATA * | PLOGICALPROCESSORDATA |
typedef std::multimap< void
*, TimelineItemRef >::iterator | s_iter |
typedef std::multimap< void
*, TimelineItemRef >
::const_iterator | s_const_iter |
| typedef BandedMatrix< float > | BandedMatrixf |
| typedef BandedMatrix< double > | BandedMatrixd |
| typedef BSpline< Vec2f > | BSpline2f |
| typedef BSpline< Vec3f > | BSpline3f |
typedef std::shared_ptr< class
Capture > | CaptureRef |
typedef std::shared_ptr< class
ImageSource > | ImageSourceRef |
| typedef ChannelT< uint8_t > | Channel |
| | 8-bit image channel. Synonym for Channel8u.
|
| typedef ChannelT< uint8_t > | Channel8u |
| | 8-bit image channel
|
| typedef ChannelT< uint16_t > | Channel16u |
| | 16-bit image channel. Suitable as an intermediate representation and ImageIo but not a first-class citizen.
|
| typedef ChannelT< float > | Channel32f |
| | 32-bit floating point image channel
|
| typedef ColorT< float > | Color |
| typedef ColorT< float > | Colorf |
| typedef ColorT< uint8_t > | Color8u |
| typedef ColorAT< float > | ColorA |
| typedef ColorAT< float > | ColorAf |
| typedef ColorAT< uint8_t > | ColorA8u |
typedef std::shared_ptr< class
DataSource > | DataSourceRef |
typedef std::shared_ptr< class
DataSourcePath > | DataSourcePathRef |
typedef std::shared_ptr< class
DataSourceUrl > | DataSourceUrlRef |
typedef std::shared_ptr< class
DataSourceBuffer > | DataSourceBufferRef |
typedef std::shared_ptr< class
DataTarget > | DataTargetRef |
typedef std::shared_ptr< class
DataTargetPath > | DataTargetPathRef |
typedef std::shared_ptr< class
DataTargetStream > | DataTargetStreamRef |
typedef std::shared_ptr< class
Display > | DisplayRef |
| typedef Frustum< float > | Frustumf |
| typedef Frustum< double > | Frustumd |
| typedef uint32_t | CallbackId |
| | Represents a unique identifier for a callback.
|
typedef std::shared_ptr< class
ImageLoader > | ImageLoaderRef |
typedef std::shared_ptr< class
ImageTarget > | ImageTargetRef |
typedef std::shared_ptr< class
ImageTargetFile > | ImageTargetFileRef |
typedef std::shared_ptr< class
ImageSourceFileQuartz > | ImageSourceFileQuartzRef |
typedef std::shared_ptr< class
ImageSourceFileWic > | ImageSourceFileWicRef |
typedef std::shared_ptr< class
ImageSourcePng > | ImageSourcePngRef |
typedef std::shared_ptr< class
ImageTargetFileQuartz > | ImageTargetFileQuartzRef |
typedef std::shared_ptr< class
ImageTargetFileWic > | ImageTargetFileWicRef |
| typedef Matrix22< float > | Matrix22f |
| typedef Matrix22< double > | Matrix22d |
| typedef Matrix33< float > | Matrix33f |
| typedef Matrix33< double > | Matrix33d |
| typedef Matrix44< float > | Matrix44f |
| typedef Matrix44< double > | Matrix44d |
| typedef MatrixAffine2< float > | MatrixAffine2f |
| typedef MatrixAffine2< double > | MatrixAffine2d |
| typedef Plane< float > | Planef |
| typedef Plane< double > | Planed |
| typedef PolyLine< Vec2f > | PolyLine2f |
| typedef PolyLine< Vec2d > | PolyLine2d |
| typedef Quaternion< float > | Quatf |
| typedef Quaternion< double > | Quatd |
| typedef RectT< float > | Rectf |
| typedef RectT< double > | Rectd |
typedef std::shared_ptr< class
OStream > | OStreamRef |
| typedef std::shared_ptr< IStream > | IStreamRef |
| typedef std::shared_ptr< IoStream > | IoStreamRef |
typedef std::shared_ptr< class
IStreamFile > | IStreamFileRef |
typedef std::shared_ptr< class
OStreamFile > | OStreamFileRef |
typedef std::shared_ptr< class
IoStreamFile > | IoStreamFileRef |
typedef std::shared_ptr< class
IStreamMem > | IStreamMemRef |
typedef std::shared_ptr< class
OStreamMem > | OStreamMemRef |
typedef
boost::iostreams::stream
< cinder_stream_source > | cinder_istream |
typedef
boost::iostreams::stream
< cinder_stream_sink > | cinder_ostream |
typedef
boost::iostreams::stream
< cinder_stream_bidirectional_device > | cinder_iostream |
| typedef SurfaceT< uint8_t > | Surface |
| | 8-bit image. Synonym for Surface8u.
|
| typedef SurfaceT< uint8_t > | Surface8u |
| | 8-bit image
|
| typedef SurfaceT< uint16_t > | Surface16u |
| | 16-bit image. Suitable as an intermediate representation and ImageIo but not a first-class citizen.
|
| typedef SurfaceT< float > | Surface32f |
| | 32-bit floating point image
|
typedef std::shared_ptr< class
Cue > | CueRef |
typedef std::shared_ptr< class
Timeline > | TimelineRef |
typedef std::shared_ptr< class
TimelineItem > | TimelineItemRef |
| typedef std::function< float(float)> | EaseFn |
typedef std::shared_ptr< class
IStreamUrl > | IStreamUrlRef |
| typedef Vec2< int > | Vec2i |
| typedef Vec2< float > | Vec2f |
| typedef Vec2< double > | Vec2d |
| typedef Vec3< int > | Vec3i |
| typedef Vec3< float > | Vec3f |
| typedef Vec3< double > | Vec3d |
| typedef Vec4< int > | Vec4i |
| typedef Vec4< float > | Vec4f |
| typedef Vec4< double > | Vec4d |
Enumerations |
| enum | ColorModel { CM_RGB,
CM_HSV
} |
| enum | UnicodeBreaks { UNICODE_MUST_BREAK,
UNICODE_ALLOW_BREAK,
UNICODE_NO_BREAK,
UNICODE_INSIDE_CHAR
} |
| | Values returned by calcBreaksUtf8 and calcBreaksUtf16. More...
|
Functions |
| pair< Area, Vec2i > | clippedSrcDst (const Area &srcSurfaceBounds, const Area &srcArea, const Area &dstSurfaceBounds, const Vec2i &dstLT) |
| std::string | toBase64 (const std::string &input, int charsPerLine=0) |
| | Converts input into a Base64-encoded string. If charsPerLine > 0, carriage returns (
) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4.
|
| std::string | toBase64 (const Buffer &input, int charsPerLine=0) |
| | Converts input into a Base64-encoded string. If charsPerLine > 0, carriage returns (
) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4.
|
| std::string | toBase64 (const void *input, size_t inputSize, int charsPerLine=0) |
| | Converts input of length inputSize into a Base64-encoded string. If charsPerLine > 0, carriage returns (
) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4.
|
| Buffer | fromBase64 (const std::string &input) |
| | Converts Base64-encoded data input into unencoded data.
|
| Buffer | fromBase64 (const Buffer &input) |
| | Converts Base64-encoded data input into unencoded data.
|
| Buffer | fromBase64 (const void *input, size_t inputSize) |
| | Converts Base64-encoded data input into unencoded data.
|
| template<class T > |
| void | allocate2D (int iCols, int iRows, T **&raatArray) |
| template<class T > |
| void | deallocate2D (T **&raatArray) |
| template<typename T > |
| T::TYPE | getSpeedWithData (float fTime, void *pvData) |
| template<typename Real > |
| Real | rombergIntegral (int iOrder, Real fA, Real fB, Real(*oF)(Real, void *), void *pvUserData) |
| template<typename T > |
| BSpline< T > | fitBSpline (const std::vector< T > &samples, int degree, int outputSamples) |
| template BSpline< Vec2f > | fitBSpline (const std::vector< Vec2f > &samples, int degree, int outputSamples) |
| template BSpline< Vec3f > | fitBSpline (const std::vector< Vec3f > &samples, int degree, int outputSamples) |
| template BSpline< Vec4f > | fitBSpline (const std::vector< Vec4f > &samples, int degree, int outputSamples) |
| Buffer | compressBuffer (const Buffer &aBuffer, int8_t compressionLevel, bool resizeResult) |
| Buffer | decompressBuffer (const Buffer &aBuffer, bool resizeResult, bool useGZip) |
| template<typename T > |
| int | solveCubic (T a, T b, T c, T d, T result[3]) |
| template int | solveCubic (float a, float b, float c, float d, float result[3]) |
| template int | solveCubic (double a, double b, double c, double d, double result[3]) |
| bool | clipboardContainsFormat (const std::set< UINT > &formats) |
| Colorf | hsvToRGB (const Vec3f &hsv) |
| Vec3f | rgbToHSV (const Colorf &c) |
| std::ostream & | operator<< (std::ostream &lhs, const ColorT< float > &rhs) |
| std::ostream & | operator<< (std::ostream &lhs, const ColorT< uint8_t > &rhs) |
| std::ostream & | operator<< (std::ostream &lhs, const ColorAT< float > &rhs) |
| std::ostream & | operator<< (std::ostream &lhs, const ColorAT< uint8_t > &rhs) |
| PolyLine2f | calcConvexHull (const std::vector< Vec2f > &points) |
| PolyLine2f | calcConvexHull (const Vec2f *points, size_t numPoints) |
| PolyLine2f | calcConvexHull (const Shape2d &shape) |
| PolyLine2f | calcConvexHull (const Path2d &path) |
| PolyLine2f | calcConvexHull (const PolyLine2f &polyLine) |
| DataSourceRef | loadFile (const fs::path &path) |
| DataSourceRef | loadUrl (const Url &url, const UrlOptions &options) |
| DataTargetPathRef | writeFile (const fs::path &path, bool createParents=true) |
| | Returns a DataTarget to file path path, and optionally creates any necessary directories when createParents is true.
|
| int CALLBACK | EnumFontFamiliesExProc (ENUMLOGFONTEX *lpelfe, NEWTEXTMETRICEX *lpntme, int FontType, LPARAM lParam) |
| ImageSourceRef | loadImage (const fs::path &path, ImageSource::Options options=ImageSource::Options(), std::string extension="") |
| | Loads an image from the file path path. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG.
|
| ImageSourceRef | loadImage (DataSourceRef dataSource, ImageSource::Options options=ImageSource::Options(), std::string extension="") |
| | Loads an image from dataSource. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG.
|
| void | writeImage (const fs::path &path, const ImageSourceRef &imageSource, ImageTarget::Options options, std::string extension) |
| void | writeImage (DataTargetRef dataTarget, const ImageSourceRef &imageSource, ImageTarget::Options options=ImageTarget::Options(), std::string extension="") |
| | Writes imageSource to dataTarget. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG.
|
| void | writeImage (ImageTargetRef imageTarget, const ImageSourceRef &imageSource) |
| | Writes imageSource to imageTarget.
|
| ostream & | operator<< (ostream &out, const JsonTree &json) |
| template<typename T > |
| Matrix44< T > | firstFrame (const Vec3< T > &firstPoint, const Vec3< T > &secondPoint, const Vec3< T > &thirdPoint) |
| template<typename T > |
| Matrix44< T > | nextFrame (const Matrix44< T > &prevMatrix, const Vec3< T > &prevPoint, const Vec3< T > &curPoint, Vec3< T > &prevTangent, Vec3< T > &curTangent) |
| template<typename T > |
| Matrix44< T > | lastFrame (const Matrix44< T > &prevMatrix, const Vec3< T > &prevPoint, const Vec3< T > &lastPoint) |
| template Matrix44f | firstFrame (const Vec3f &firstPoint, const Vec3f &secondPoint, const Vec3f &thirdPoint) |
| template Matrix44f | nextFrame (const Matrix44f &prevMatrix, const Vec3f &prevPoint, const Vec3f &curPoint, Vec3f &prevTangent, Vec3f &curTangent) |
| template Matrix44f | lastFrame (const Matrix44f &prevMatrix, const Vec3f &prevPoint, const Vec3f &lastPoint) |
| float | nlerp (float t, float a, float b) |
| template<typename T > |
| T | linearYatX (const Vec2< T > p[2], T x) |
| template<typename T > |
| size_t | linearCrossings (const Vec2< T > p[2], const Vec2f &pt) |
| void | sleep (float milliseconds) |
| | Suspends the execution of the current thread until milliseconds have passed. Supports sub-millisecond precision only on Mac OS X.
|
| void | getClippedScaledRects (const Area &srcSurfaceBounds, const Rectf &srcRect, const Area &dstSurfaceBounds, const Area &dstArea, Rectf *resultSrcRect, Area *resultDstArea) |
| template<typename T > |
| std::ostream & | operator<< (std::ostream &o, const RectT< T > &rect) |
| IStreamFileRef | loadFileStream (const fs::path &path) |
| | Opens the file lcoated at path for read access as a stream.
|
| std::shared_ptr< OStreamFile > | writeFileStream (const fs::path &path, bool createParents=true) |
| | Opens the file located at path for write access as a stream, and creates it if it does not exist. Optionally creates any intermediate directories when createParents is true.
|
| IoStreamFileRef | readWriteFileStream (const fs::path &path) |
| | Opens a path for read-write access as a stream.
|
| void | loadStreamMemory (IStreamRef is, std::shared_ptr< uint8_t > *resultData, size_t *resultDataSize) |
| | Loads the contents of a stream into a contiguous block of memory, pointed to by resultData. The size of this block is stored in resultDataSize.
|
| Buffer | loadStreamBuffer (IStreamRef is) |
| | Loads the contents of a stream into a Buffer.
|
| void | cpuidwrap (int *p, unsigned int param) |
| void | lockToLogicalProcessor (int n) |
| void | cpuid (int whichlp, PLOGICALPROCESSORDATA p) |
| Surface | renderStringPow2 (const std::string &str, const Font &font, const ColorA &color, Vec2i *actualSize, float *baselineOffset=0) |
| | Renders a single string and returns it as a Surface. Optional baselineOffset pointer will receive how many pixels of descender are in the returned Surface. Offset rendering the result Surface by this amount in order to preserve a consistent baseline. Consider gl::drawString() as a more convenient alternative.
|
| Surface | renderString (const string &str, const Font &font, const ColorA &color, float *baselineOffset) |
| void * | stdAlloc (void *userData, unsigned int size) |
| void | stdFree (void *userData, void *ptr) |
| size_t | stringLengthUtf8 (const char *str, size_t lengthInBytes=0) |
| | Returns the number of characters (not bytes) in the the UTF-8 string str. Optimize operation by supplying a non-default lengthInBytes of str.
|
| uint32_t | nextCharUtf8 (const char *str, size_t *inOutByte, size_t lengthInBytes=0) |
| | Returns the UTF-32 code point of the next character in str, relative to the byte inOutByte. Increments inOutByte to be the first byte of the next character. Optimize operation by supplying a non-default lengthInBytes of str.
|
| size_t | advanceCharUtf8 (const char *str, size_t numChars, size_t lengthInBytes=0) |
| | Returns the index in bytes of the next character in str, advanced by numChars characters. Optimize operation by supplying a non-default lengthInBytes of str.
|
| void | lineBreakUtf8 (const char *line, const std::function< bool(const char *, size_t)> &measureFn, std::function< void(const char *, size_t)> lineProcessFn) |
| void | calcLinebreaksUtf8 (const char *str, std::vector< uint8_t > *resultBreaks) |
| | Sets resultBreaks to be of the same length as the null-terminated UTF-8 string str with the values enumerated by UnicodeBreaks.
|
| void | calcLinebreaksUtf8 (const char *str, size_t strLength, std::vector< uint8_t > *resultBreaks) |
| | Sets resultBreaks to be of the same length as the UTF-8 string str with the values enumerated by UnicodeBreaks.
|
| void | calcLinebreaksUtf16 (const uint16_t *str, std::vector< uint8_t > *resultBreaks) |
| | Sets resultBreaks to be of the same length as the null-terminated UTF-16 string str with the values enumerated by UnicodeBreaks.
|
| void | calcLinebreaksUtf16 (const uint16_t *str, size_t strLength, std::vector< uint8_t > *resultBreaks) |
| | Sets resultBreaks to be of the same length as the UTF-16 string str with the values enumerated by UnicodeBreaks.
|
| IStreamUrlRef | loadUrlStream (const Url &url, const UrlOptions &options) |
| IStreamUrlRef | loadUrlStream (const std::string &url, const std::string &user, const std::string &password, const UrlOptions &options) |
| void | safeInternetCloseHandle (HINTERNET hInternet) |
| void | testAndThrowHttpStatus (HINTERNET hInternet) |
| fs::path | expandPath (const fs::path &path) |
| | Returns a canonical version of path by expanding a "~" and symlinks on the Mac "..", "." and "//".
|
| fs::path | getHomeDirectory () |
| | Returns a path to the user's home directory.
|
| fs::path | getDocumentsDirectory () |
| | Returns a path to the user's documents directory.
|
| fs::path | getTemporaryDirectory () |
| | Returns a path to the user's temporary directory.
|
| fs::path | getTemporaryFilePath (const std::string &prefix="") |
| | Returns a path that is gauranteed to be unique and is suitable for creating a temporary file. An optional prefix parameters allows specification of a file name prefix, some portion of which will be incorporated into the result. Note a race condition that can exist between the uniqueness of the path and the creation of the file.
|
| std::string | getPathDirectory (const std::string &path) |
| | Returns the directory portion of file path path, the last component of which must be a file name or a terminating path separator.
|
| std::string | getPathFileName (const std::string &path) |
| | Returns the file name portion of file path path. For example "C:\Images\Beyonce.jpg" returns "Beyonce.jpg".
|
| std::string | getPathExtension (const std::string &path) |
| | Returns the file extension of the file located at path.
|
| bool | createDirectories (const fs::path &path, bool createParents=true) |
| | Creates a directory at path and optionally creates any missing parent directories when createParents is true. Returns true upon success.
|
| void | launchWebBrowser (const Url &url) |
| | Launches a path in a web browser.
|
| void | deleteFile (const fs::path &path) |
| | Delete the file at path. Fails quietly if the path does not exist.
|
| std::vector< std::string > | split (const std::string &str, char separator, bool compress=true) |
| | Returns a vector of substrings split by the separator separator. split( "one two three", ' ' ) -> [ "one", "two", "three" ] If compress is TRUE, it will consider consecutive separators as one.
|
| std::vector< std::string > | split (const std::string &str, const std::string &separators, bool compress=true) |
| | Returns a vector of substrings split by the characters in separators. split( "one, two, three", " ," ) -> [ "one", "two", "three" ] If compress is TRUE, it will consider consecutive separators as one.
|
| string | loadString (DataSourceRef dataSource) |
| | Loads the contents of dataSource and returns it as a std::string.
|
| wstring | toUtf16 (const std::string &utf8) |
| | Returns a utf-16 encoded std::wstring by converting the utf-8 encoded string utf8.
|
| string | toUtf8 (const std::wstring &utf16) |
| | Returns a utf-8 encoded std::string by converting the utf-16 encoded string utf16.
|
| vector< string > | stackTrace () |
| | Returns a stack trace (aka backtrace) where stackTrace()[0] == caller, stackTrace()[1] == caller's parent, etc.
|
| int16_t | swapEndian (int16_t val) |
| uint16_t | swapEndian (uint16_t val) |
| int32_t | swapEndian (int32_t val) |
| uint32_t | swapEndian (uint32_t val) |
| float | swapEndian (float val) |
| double | swapEndian (double val) |
| void | swapEndianBlock (uint16_t *blockPtr, size_t blockSizeInBytes) |
| void | swapEndianBlock (float *blockPtr, size_t blockSizeInBytes) |
| void | parseItem (const rapidxml::xml_node<> &node, XmlTree *parent, XmlTree *result, const XmlTree::ParseOptions &parseOptions) |
| ostream & | operator<< (ostream &out, const XmlTree &xml) |
| float | toRadians (float x) |
| double | toRadians (double x) |
| float | toDegrees (float x) |
| double | toDegrees (double x) |
| template<typename T , typename L > |
| T | lerp (const T &a, const T &b, L factor) |
| template<typename T > |
| T | lmap (T val, T inMin, T inMax, T outMin, T outMax) |
| template<typename T , typename L > |
| T | bezierInterp (T a, T b, T c, T d, L t) |
| template<typename T , typename L > |
| T | bezierInterpRef (const T &a, const T &b, const T &c, const T &d, L t) |
| template<typename T > |
| T | constrain (T val, T minVal, T maxVal) |
| template<class T > |
| T | sinx_over_x (T x) |
| uint32_t | log2floor (uint32_t x) |
| uint32_t | log2ceil (uint32_t x) |
| uint32_t | nextPowerOf2 (uint32_t x) |
| template<typename T > |
| int | solveLinear (T a, T b, T result[1]) |
| template<typename T > |
| int | solveQuadratic (T a, T b, T c, T result[2]) |
| template<typename T , typename Y > |
| ColorT< T > | operator* (Y s, const ColorT< T > &c) |
| template<typename T , typename Y > |
| ColorAT< T > | operator* (Y s, const ColorAT< T > &c) |
| Vec3f | rgbToHSV (const ColorT< float > &c) |
| DataSourceRef | loadUrl (const std::string &urlString, const UrlOptions &options=UrlOptions()) |
| float | easeNone (float t) |
| | Easing equation for a simple linear tweening with no easing.
|
| float | easeInQuad (float t) |
| | Easing equation for a quadratic (t^2) ease-in, accelerating from zero velocity.
|
| float | easeOutQuad (float t) |
| | Easing equation for a quadratic (t^2) ease-out, decelerating to zero velocity.
|
| float | easeInOutQuad (float t) |
| | Easing equation for a quadratic (t^2) ease-in/out, accelerating until halfway, then decelerating.
|
| float | easeOutInQuad (float t) |
| | Easing equation for a quadratic (t^2) ease-out/in, decelerating until halfway, then accelerating.
|
| float | easeInCubic (float t) |
| | Easing equation function for a cubic (t^3) ease-in, accelerating from zero velocity.
|
| float | easeOutCubic (float t) |
| | Easing equation for a cubic (t^3) ease-out, decelerating to zero velocity.
|
| float | easeInOutCubic (float t) |
| | Easing equation for a cubic (t^3) ease-in/out, accelerating until halfway, then decelerating.
|
| float | easeOutInCubic (float t) |
| | Easing equation for a cubic (t^3) ease-out/in, decelerating until halfway, then accelerating.
|
| float | easeInQuart (float t) |
| | Easing equation for a quartic (t^4) ease-in, accelerating from zero velocity.
|
| float | easeOutQuart (float t) |
| | Easing equation for a quartic (t^4) ease-out, decelerating to zero velocity.
|
| float | easeInOutQuart (float t) |
| | Easing equation for a quartic (t^4) ease-in/out, accelerating until halfway, then decelerating.
|
| float | easeOutInQuart (float t) |
| | Easing equation for a quartic (t^4) ease-out/in, decelerating until halfway, then accelerating.
|
| float | easeInQuint (float t) |
| | Easing equation function for a quintic (t^5) ease-in, accelerating from zero velocity.
|
| float | easeOutQuint (float t) |
| | Easing equation for a quintic (t^5) ease-out, decelerating to zero velocity.
|
| float | easeInOutQuint (float t) |
| | Easing equation for a quintic (t^5) ease-in/out, accelerating until halfway, then decelerating.
|
| float | easeOutInQuint (float t) |
| | Easing equation for a quintic (t^5) ease-out/in, decelerating until halfway, then accelerating.
|
| float | easeInSine (float t) |
| | Easing equation for a sinusoidal (sin(t)) ease-in, accelerating from zero velocity.
|
| float | easeOutSine (float t) |
| | Easing equation for a sinusoidal (sin(t)) ease-out, decelerating from zero velocity.
|
| float | easeInOutSine (float t) |
| | Easing equation for a sinusoidal (sin(t)) ease-in/out, accelerating until halfway, then decelerating.
|
| float | easeOutInSine (float t) |
| | Easing equation for a sinusoidal (sin(t)) ease-out/in, decelerating until halfway, then accelerating.
|
| float | easeInExpo (float t) |
| | Easing equation for an exponential (2^t) ease-in, accelerating from zero velocity.
|
| float | easeOutExpo (float t) |
| | Easing equation for an exponential (2^t) ease-out, decelerating from zero velocity.
|
| float | easeInOutExpo (float t) |
| | Easing equation for an exponential (2^t) ease-in/out, accelerating until halfway, then decelerating.
|
| float | easeOutInExpo (float t) |
| | Easing equation for an exponential (2^t) ease-out/in, decelerating until halfway, then accelerating.
|
| float | easeInCirc (float t) |
| | Easing equation for a circular (sqrt(1-t^2)) ease-in, accelerating from zero velocity.
|
| float | easeOutCirc (float t) |
| | Easing equation for a circular (sqrt(1-t^2)) ease-out, decelerating from zero velocity.
|
| float | easeInOutCirc (float t) |
| | Easing equation for a circular (sqrt(1-t^2)) ease-in/out, accelerating until halfway, then decelerating.
|
| float | easeOutInCirc (float t) |
| | Easing equation for a circular (sqrt(1-t^2)) ease-out/in, decelerating until halfway, then accelerating.
|
| float | easeInBounce (float t, float a=1.70158f) |
| float | easeOutBounce (float t, float a=1.70158f) |
| | Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out, decelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot.
|
| float | easeInOutBounce (float t, float a=1.70158f) |
| | Easing equation for a bounce (exponentially decaying parabolic bounce) ease-in/out, accelerating until halfway, then decelerating. The a parameter controls overshoot, the default producing a 10% overshoot.
|
| float | easeOutInBounce (float t, float a=1.70158f) |
| | Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out/in, decelerating until halfway, then accelerating. The a parameter controls overshoot, the default producing a 10% overshoot.
|
| float | easeInBack (float t, float s=1.70158f) |
| | Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-in, accelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot.
|
| float | easeOutBack (float t, float s=1.70158f) |
| | Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-out, decelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot.
|
| float | easeInOutBack (float t, float s=1.70158f) |
| | Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-in/out, accelerating until halfway, then decelerating. The a parameter controls overshoot, the default producing a 10% overshoot.
|
| float | easeOutInBack (float t, float s) |
| | Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-out/in, decelerating until halfway, then accelerating. The a parameter controls overshoot, the default producing a 10% overshoot.
|
| float | easeInElastic (float t, float amplitude, float period) |
| float | easeOutElastic (float t, float amplitude, float period) |
| | Easing equation for an elastic (exponentially decaying sine wave) ease-out, decelerating from zero velocity.
|
| float | easeInOutElastic (float t, float amplitude, float period) |
| | Easing equation for an elastic (exponentially decaying sine wave) ease-in/out, accelerating until halfway, then decelerating.
|
| float | easeOutInElastic (float t, float amplitude, float period) |
| | Easing equation for an elastic (exponentially decaying sine wave) ease-out/in, decelerating until halfway, then accelerating.
|
| float | easeInAtan (float t, float a=15) |
| | Easing equation for an atan ease-in, accelerating from zero velocity. Used by permssion from Chris McKenzie.
|
| float | easeOutAtan (float t, float a=15) |
| | Easing equation for an atan ease-out, decelerating from zero velocity. Used by permssion from Chris McKenzie.
|
| float | easeInOutAtan (float t, float a=15) |
| | Easing equation for an atan ease-in/out, accelerating until halfway, then decelerating. Used by permssion from Chris McKenzie.
|
| | REGISTER_IMAGE_IO_FILE_HANDLER (ImageSourceFileQuartz) class ImageSourceFileQuartzExceptionUnsupportedData |
| | REGISTER_IMAGE_IO_FILE_HANDLER (ImageSourceFileWic) class ImageSourceFileWicExceptionUnsupportedData |
| | REGISTER_IMAGE_IO_FILE_HANDLER (ImageSourcePng) class ImageSourcePngException |
| template<typename T > |
| Matrix44< T > | firstFrame (const Vec4< T > &firstPoint, const Vec4< T > &secondPoint, const Vec4< T > &thirdPoint) |
| template<typename T > |
| Matrix44< T > | nextFrame (const Matrix44< T > &prevMatrix, const Vec4< T > &prevPoint, const Vec4< T > &curPoint, Vec4< T > &prevTangent, Vec4< T > &curTangent) |
| template<typename T > |
| Matrix44< T > | lastFrame (const Matrix44< T > &prevMatrix, const Vec4< T > &prevPoint, const Vec4< T > &lastPoint) |
| Matrix44f | SseMultiply (const Matrix44f &mat0, const Matrix44f &mat1) |
| Matrix44f | SseInvert (const Matrix44f &mat) |
| std::ostream & | operator<< (std::ostream &out, const Path2d &p) |
| template<typename T > |
| std::ostream & | operator<< (std::ostream &o, const Plane< T > &p) |
| template<typename T > |
| Vec3< T > | operator* (const Vec3< T > &vec, const Quaternion< T > &q) |
| void | randSeed (unsigned long seedValue) |
| | Resets the static random generator to the specific seed seedValue.
|
| bool | randBool () |
| | returns a random boolean value
|
| int32_t | randInt () |
| | returns a random integer in the range [0,2147483647]
|
| int32_t | randInt (int32_t v) |
| | returns a random integer in the range [0,v)
|
| int32_t | randInt (int32_t a, int32_t b) |
| | returns a random integer in the range [a,b)
|
| float | randFloat () |
| | returns a random float in the range [0.0f,1.0f]
|
| float | randFloat (float v) |
| | returns a random float in the range [0.0f,v]
|
| float | randFloat (float a, float b) |
| | returns a random float in the range [a,b]
|
| float | randPosNegFloat (float a, float b) |
| | returns a random float in the range [a,b] or the range [-b,-a]
|
| Vec3f | randVec3f () |
| | returns a random Vec3f that represents a point on the unit sphere
|
| Vec2f | randVec2f () |
| | returns a random Vec2f that represents a point on the unit circle
|
| float | randGaussian () |
| | returns a random float via Gaussian distribution
|
| std::ostream & | operator<< (std::ostream &outp, const System::NetworkAdapter &adapter) |
| template<typename T > |
| T | tweenLerp (const T &start, const T &end, float time) |
| template<> |
| Quatf | tweenLerp (const Quatf &start, const Quatf &end, float time) |
| std::ostream & | operator<< (std::ostream &out, const Url &url) |
| std::istream & | operator>> (std::istream &is, Url &url) |
| char | getPathSeparator () |
| | Returns the path separator for the host operating system's file system, '\' on Windows and '/' on Mac OS.
|
| template<typename T > |
| std::string | toString (const T &t) |
| template<typename T > |
| T | fromString (const std::string &s) |
| template<> |
| Url | fromString (const std::string &s) |
| int8_t | swapEndian (int8_t val) |
| uint8_t | swapEndian (uint8_t val) |
| template<typename T > |
| Vec2< T > | toPolar (Vec2< T > car) |
| | Converts a coordinate from rectangular (Cartesian) coordinates to polar coordinates of the form (radius, theta)
|
| template<typename T > |
| Vec2< T > | fromPolar (Vec2< T > pol) |
| | Converts a coordinate from polar coordinates of the form (radius, theta) to rectangular coordinates.
|
| template<typename T , typename Y > |
| Vec2< T > | operator* (Y s, const Vec2< T > &v) |
| template<typename T , typename Y > |
| Vec2< T > | operator* (const Vec2< T > &v, Y s) |
| template<typename T , typename Y > |
| Vec3< T > | operator* (Y s, const Vec3< T > &v) |
| template<typename T , typename Y > |
| Vec3< T > | operator* (const Vec3< T > &v, Y s) |
| template<typename T , typename Y > |
| Vec4< T > | operator* (Y s, const Vec4< T > &v) |
| template<typename T , typename Y > |
| Vec4< T > | operator* (const Vec4< T > &v, Y s) |
| template<typename T > |
| T | dot (const Vec2< T > &a, const Vec2< T > &b) |
| template<typename T > |
| T | dot (const Vec3< T > &a, const Vec3< T > &b) |
| template<typename T > |
| T | dot (const Vec4< T > &a, const Vec4< T > &b) |
| template<typename T > |
| Vec3< T > | cross (const Vec3< T > &a, const Vec3< T > &b) |
| template<typename T > |
| Vec4< T > | cross (const Vec4< T > &a, const Vec4< T > &b) |
| template<typename T > |
| bool | isNaN (const Vec2< T > &a) |
| template<typename T > |
| bool | isNaN (const Vec3< T > &a) |
| template<typename T > |
| bool | isNaN (const Vec4< T > &a) |
Variables |
| const double | EPSILON_VALUE = 4.37114e-05 |