blob: c20ecfeb0a40f4ff73d05ab44c3e995985aef151 [file] [log] [blame]
Brian Silverman26e4e522015-12-17 01:56:40 -05001/*----------------------------------------------------------------------------*/
2/* Copyright (c) FIRST 2014. All Rights Reserved. */
3/* Open Source Software - may be modified and shared by FRC teams. The code */
4/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
5/*----------------------------------------------------------------------------*/
6
7#pragma once
8
9#include <stdio.h>
10#include "nivision.h"
11#include "ErrorBase.h"
12
13#define DEFAULT_BORDER_SIZE 3
14
15class ImageBase : public ErrorBase {
16 public:
17 ImageBase(ImageType type);
18 virtual ~ImageBase();
19 virtual void Write(const char *fileName);
20 int GetHeight();
21 int GetWidth();
22 Image *GetImaqImage();
23
24 protected:
25 Image *m_imaqImage;
26};