public FrameGrabber() { base.\u002Ector(); FrameGrabber frameGrabber = this; this.format = (string) null; this.imageWidth = 0; this.imageHeight = 0; this.frameRate = 0.0; this.triggerMode = false; this.triggerFlushSize = 0; this.bpp = 0; this.colorMode = FrameGrabber.ColorMode.__\u003C\u003EBGR; this.timeout = 10000; this.numBuffers = 4; this.gamma = 0.0; this.deinterlace = false; }
public virtual void setColorMode(FrameGrabber.ColorMode colorMode) { this.colorMode = colorMode; }
public SettingsImplementation(ProjectiveDevice.Settings settings) : base(settings) { CameraDevice.SettingsImplementation settingsImplementation1 = this; this.deviceNumber = (Integer) null; this.deviceFile = (File) null; this.devicePath = (string) null; this.frameGrabber = (Class) null; this.format = ""; this.imageWidth = 0; this.imageHeight = 0; this.frameRate = 0.0; this.triggerMode = false; this.triggerFlushSize = 5; this.bpp = 0; this.colorMode = FrameGrabber.ColorMode.__\u003C\u003ERAW; this.timeout = 10000; this.numBuffers = 4; this.deinterlace = false; if (!(settings is CameraDevice.SettingsImplementation)) return; CameraDevice.SettingsImplementation settingsImplementation2 = (CameraDevice.SettingsImplementation) settings; this.deviceNumber = settingsImplementation2.deviceNumber; this.deviceFile = settingsImplementation2.deviceFile; this.devicePath = settingsImplementation2.devicePath; this.frameGrabber = settingsImplementation2.frameGrabber; this.format = settingsImplementation2.format; this.imageWidth = settingsImplementation2.imageWidth; this.imageHeight = settingsImplementation2.imageHeight; this.frameRate = settingsImplementation2.frameRate; this.triggerMode = settingsImplementation2.triggerMode; this.triggerFlushSize = settingsImplementation2.triggerFlushSize; this.bpp = settingsImplementation2.bpp; this.colorMode = settingsImplementation2.colorMode; this.timeout = settingsImplementation2.timeout; this.numBuffers = settingsImplementation2.numBuffers; this.deinterlace = settingsImplementation2.deinterlace; }
public SettingsImplementation() { CameraDevice.SettingsImplementation settingsImplementation = this; this.deviceNumber = (Integer) null; this.deviceFile = (File) null; this.devicePath = (string) null; this.frameGrabber = (Class) null; this.format = ""; this.imageWidth = 0; this.imageHeight = 0; this.frameRate = 0.0; this.triggerMode = false; this.triggerFlushSize = 5; this.bpp = 0; this.colorMode = FrameGrabber.ColorMode.__\u003C\u003ERAW; this.timeout = 10000; this.numBuffers = 4; this.deinterlace = false; this.name = "Camera 0"; }
static ColorMode() { FrameGrabber.ColorMode[] colorModeArray = new FrameGrabber.ColorMode[3]; int index1 = 0; FrameGrabber.ColorMode colorMode1 = FrameGrabber.ColorMode.__\u003C\u003EBGR; colorModeArray[index1] = colorMode1; int index2 = 1; FrameGrabber.ColorMode colorMode2 = FrameGrabber.ColorMode.__\u003C\u003EGRAY; colorModeArray[index2] = colorMode2; int index3 = 2; FrameGrabber.ColorMode colorMode3 = FrameGrabber.ColorMode.__\u003C\u003ERAW; colorModeArray[index3] = colorMode3; FrameGrabber.ColorMode.\u0024VALUES = colorModeArray; }