00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __PRM_SharedFunc_h__
00021 #define __PRM_SharedFunc_h__
00022
00023 #include "PRM_API.h"
00024 class PRM_Name;
00025 class PRM_SpareData;
00026 class UT_String;
00027 class IMG_TileFileInfo;
00028 class PRM_Parm;
00029
00030 PRM_API extern void
00031 PRMbuildImageMenu(void *, PRM_Name *names, int size, const PRM_SpareData *, PRM_Parm *);
00032
00033 PRM_API extern const PRM_Name *
00034 PRMgetImageName(int index);
00035
00036 PRM_API extern void
00037 PRMbuildResolutionMenu(void *, PRM_Name *names, int n, const PRM_SpareData *, PRM_Parm *);
00038
00039 PRM_API extern const PRM_Name *
00040 PRMgetResolutionName(int index);
00041
00042 PRM_API extern void
00043 PRMbuildFilterMenu(void *, PRM_Name *names, int, const PRM_SpareData *, PRM_Parm *);
00044
00045 PRM_API extern const PRM_Name *
00046 PRMgetFilterName(int idx);
00047
00048 PRM_API extern void
00049 PRMbuildPixelFormatMenu(void *, PRM_Name *names, int, const PRM_SpareData *, PRM_Parm *);
00050
00051 PRM_API extern void
00052 PRMbuildImageDeviceMenu(void *, PRM_Name *names, int, const PRM_SpareData *, PRM_Parm *);
00053
00054 PRM_API extern void
00055 PRMbuildRiDeviceMenu(void *, PRM_Name *names, int, const PRM_SpareData *, PRM_Parm *);
00056
00057 PRM_API extern void
00058 PRMbuildRiFilterMenu(void *, PRM_Name *names, int, const PRM_SpareData *, PRM_Parm *);
00059
00060 PRM_API extern void
00061 PRMbuildRiHiderMenu(void *, PRM_Name *names, int, const PRM_SpareData *, PRM_Parm *);
00062
00063 PRM_API extern void
00064 PRMbuildTakeMenu(void *, PRM_Name *names, int, const PRM_SpareData *, PRM_Parm *);
00065
00066 PRM_API extern const PRM_Name *
00067 PRMgetPixelFormatName(int idx);
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087 PRM_API extern int
00088 PRMchangeImageFilename(const UT_String &filename, const UT_String &format,
00089 UT_String &option_format, UT_String &options);
00090
00091
00092
00093
00094
00095
00096 PRM_API extern int
00097 PRMchangeImageFormat(UT_String &filename, const UT_String &format,
00098 UT_String &option_format, UT_String &options);
00099
00100 #endif