#include <XSIImage.h>
Inheritance diagram for CSLImage:

Public Types |
|
| enum | EChannels { SI_RGB = 3, SI_RGBA = 4 } |
| Defines the number of channels of an image. More... |
|
| enum | EColorDepth { SI_24BITS = 24, SI_32BITS = 32 } |
| Defines the supported color depths for images. More... |
|
Public Member Functions |
|
| CSLImage (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLImage () |
| Destructor. |
|
| SI_Error | Synchronize () |
| ETemplateType | Type () |
| virtual CSLAnimatableType * | ParameterFromName (SI_Char *in_szName) |
| virtual CSLAnimatableType * | ParameterFromType (EFCurveType in_Type, SI_Char *in_szParameterName) |
| SI_Char * | GetSourceFile () |
| SI_Void | SetSourceFile (SI_Char *in_szFilename) |
| SI_Int | GetWidth () |
| SI_Void | SetWidth (SI_Int in_nSize) |
| SI_Int | GetHeight () |
| SI_Void | SetHeight (SI_Int in_nSize) |
| EChannels | GetChannels () |
| SI_Void | SetChannels (EChannels in_Channel) |
| EColorDepth | GetColorDepth () |
| SI_Void | SetColorDepth (EColorDepth in_Depth) |
| SI_Float | GetCropMinX () |
| SI_Void | SetCropMinX (SI_Float in_fCrop) |
| SI_Float | GetCropMaxX () |
| SI_Void | SetCropMaxX (SI_Float in_fCrop) |
| SI_Float | GetCropMinY () |
| SI_Void | SetCropMinY (SI_Float in_fCrop) |
| SI_Float | GetCropMaxY () |
| SI_Void | SetCropMaxY (SI_Float in_fCrop) |
| SI_Float | GetFrameRate () |
| SI_Void | SetFrameRate (SI_Float in_nRate=0.0) |
| SI_Int | GetFirstFrame () |
| SI_Void | SetFirstFrame (SI_Int in_nFrame) |
| SI_Int | GetLastFrame () |
| SI_Void | SetLastFrame (SI_Int in_nFrame) |
| CSLImageData * | CreateImageData () |
| SI_Error | DestroyImageData () |
| CSLImageData * | ConnectImageData (CSLImageData *in_pImageData) |
| CSLImageData * | ImageData () |
| CSLImageFX * | CreateImageFX () |
| SI_Error | DestroyImageFX () |
| CSLImageFX * | ConnectImageFX (CSLImageFX *in_pToConnect) |
| CSLImageFX * | ImageFX () |
| CSLImageFX2 * | CreateImageFX2 () |
| SI_Error | DestroyImageFX2 () |
| CSLImageFX2 * | ConnectImageFX2 (CSLImageFX2 *in_pToConnect) |
| CSLImageFX2 * | ImageFX2 () |
Describes an image
| enum EChannels |
| enum EColorDepth |
Defines the supported color depths for images.
| CSLImage | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | Parent scene | |
| in_pModel | Parent model | |
| in_pTemplate | Refered template |
| SI_Error Synchronize | ( | ) | [virtual] |
Commits Semantic Layer data
Reimplemented from CSLTemplate.
| ETemplateType Type | ( | ) | [inline, virtual] |
Gets the type of this template
Implements CSLTemplate.
| virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | [virtual] |
Return a proxy to the specified parameter.
| in_szName | Name of the parameter |
Reimplemented from CSLTemplate.
| virtual CSLAnimatableType* ParameterFromType | ( | EFCurveType | in_Type, | |
| SI_Char * | in_szParameterName | |||
| ) | [virtual] |
Return a proxy to the specified parameter.
| in_Type | Type of parameter | |
| in_szParameterName | Name of the parameter if the type is SI_PARAMETER |
Reimplemented from CSLTemplate.
| SI_Char* GetSourceFile | ( | ) |
Gets the filename of the image
| SI_Void SetSourceFile | ( | SI_Char * | in_szFilename | ) |
Sets the filename of the image in_szFilename Filename
| SI_Int GetWidth | ( | ) |
Gets the horizontal resolution of the image
| SI_Void SetWidth | ( | SI_Int | in_nSize | ) |
Sets the horizontal resolution of the image
| in_nSize | Size |
| SI_Int GetHeight | ( | ) |
Gets the vertical resolution of the image
| SI_Void SetHeight | ( | SI_Int | in_nSize | ) |
Sets the vertical resolution of the image
| in_nSize | Size |
| EChannels GetChannels | ( | ) |
Gets the number of channels for a pixel
| SI_Void SetChannels | ( | EChannels | in_Channel | ) |
Sets the number of channels for a pixel
| in_Channel | Number of channels |
| EColorDepth GetColorDepth | ( | ) |
Gets the color depth of the image
| SI_Void SetColorDepth | ( | EColorDepth | in_Depth | ) |
Sets the color depth of the image
| in_Depth | Color depth |
| SI_Float GetCropMinX | ( | ) |
Gets the minimum horizontal crop value
| SI_Void SetCropMinX | ( | SI_Float | in_fCrop | ) |
Sets the minimum horizontal crop value
| in_fCrop | Crop value |
| SI_Float GetCropMaxX | ( | ) |
Gets the maximum horizontal crop value
| SI_Void SetCropMaxX | ( | SI_Float | in_fCrop | ) |
Sets the maximum horizontal crop value
| in_fCropCrop | value |
| SI_Float GetCropMinY | ( | ) |
Gets the minimum vertical crop value
| SI_Void SetCropMinY | ( | SI_Float | in_fCrop | ) |
Sets the minimum vertical crop value
| in_fCrop | Crop value |
| SI_Float GetCropMaxY | ( | ) |
Gets the maximum vertical crop value
| SI_Void SetCropMaxY | ( | SI_Float | in_fCrop | ) |
Sets the maximum vertical crop value
| in_fCrop | Crop value |
| SI_Float GetFrameRate | ( | ) |
Gets the frame rate
| SI_Void SetFrameRate | ( | SI_Float | in_nRate = 0.0 |
) |
Sets the frame rate
| in_nRate | Actual frame rate |
| SI_Int GetFirstFrame | ( | ) |
Gets the first frame
| SI_Void SetFirstFrame | ( | SI_Int | in_nFrame | ) |
Sets the first frame
| in_nFrame | Frame number |
| SI_Int GetLastFrame | ( | ) |
Gets the last frame
| SI_Void SetLastFrame | ( | SI_Int | in_nFrame | ) |
Sets the last frame
| in_nFrame | Frame number |
| CSLImageData* CreateImageData | ( | ) |
Allocates and connect a new image data
| SI_Error DestroyImageData | ( | ) |
Destroys the Image Data
| CSLImageData* ConnectImageData | ( | CSLImageData * | in_pImageData | ) |
Connects the image data
| in_pImageData | New image data to use |
| CSLImageData* ImageData | ( | ) |
Gets the image data
| CSLImageFX* CreateImageFX | ( | ) |
Creates a new Image FX
| SI_Error DestroyImageFX | ( | ) |
Destroys the Image FX
| CSLImageFX* ConnectImageFX | ( | CSLImageFX * | in_pToConnect | ) |
Connects an exisiting Image FX
| in_pToConnect | Pointer to the ImageFX to use |
| CSLImageFX* ImageFX | ( | ) |
Gets a pointer to the Image FX
| CSLImageFX2* CreateImageFX2 | ( | ) |
Creates a new Image FX 2
| SI_Error DestroyImageFX2 | ( | ) |
Destroys the Image FX 2
| CSLImageFX2* ConnectImageFX2 | ( | CSLImageFX2 * | in_pToConnect | ) |
Connects an exisiting Image FX 2
| in_pToConnect | Pointer to the ImageFX2 to use |
| CSLImageFX2* ImageFX2 | ( | ) |
Gets a pointer to the Image FX 2