Files Class List
cyHairFile.h File Reference

Detailed Description

A class for the HAIR file type.

Author
Cem Yuksel
#include "cyCore.h"
#include <stdio.h>

Classes

class  HairFile
 HAIR file class. More...
 
struct  HairFile::Header
 Hair file header. More...
 

Macros

#define CY_HAIR_FILE_ERROR_CANT_OPEN_FILE   -1
 Error code cannot open file.
 
#define CY_HAIR_FILE_ERROR_CANT_READ_HEADER   -2
 Error code cannot read header.
 
#define CY_HAIR_FILE_ERROR_WRONG_SIGNATURE   -3
 Error code wrong signature.
 
#define CY_HAIR_FILE_ERROR_READING_SEGMENTS   -4
 Error code failed reading segments.
 
#define CY_HAIR_FILE_ERROR_READING_POINTS   -5
 Error code failed reading points.
 
#define CY_HAIR_FILE_ERROR_READING_THICKNESS   -6
 Error code failed reading thickness.
 
#define CY_HAIR_FILE_ERROR_READING_TRANSPARENCY   -7
 Error code failed reading transparency.
 
#define CY_HAIR_FILE_ERROR_READING_COLORS   -8
 Error code failed reading colors.
 

Typedefs

typedef cy::HairFile cyHairFile
 HAIR file class.