/*======================================================================================

	Program:		Range Imaging Toolkit (RITK)
	Module:			ritkImagePayloadVisualizationConfig.cxx
	Version:		$Revision: 1761 $
	Date:			$Date: 2011-09-23 17:25:41 +0200 (Fr, 23 Sep 2011) $

	Copyright (c) 2010-2011
	Pattern Recognition Lab, 
    University Erlangen-Nuremberg, Germany
    All rights reserved.

	This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
	See RITKCopyright.txt for more information.

	http://www5.informatik.uni-erlangen.de/research/software/ritk

========================================================================================*/


#include "ritkImagePayloadVisualizationConfig.h"

namespace ritk
{


//----------------------------------------------------------------------------
ImagePayloadVisualizationConfig::ImagePayloadVisualizationConfig()
{
	ValidFlag = false;
}


//----------------------------------------------------------------------------
ImagePayloadVisualizationConfig::~ImagePayloadVisualizationConfig()
{
	ValidFlag = false;
}

} // namespace ritk


//----------------------------------------------------------------------------
std::ostream& operator<<(std::ostream& out, ritk::ImagePayloadVisualizationConfig &Config)
{
	out << "ImagePayloadVisualizationConfig@" << (void*)(&Config) << std::endl;
	out << "	CharId = " << Config.PayloadIdentifier.c_str() << " (PayloadId=" << Config.PayloadId << ")" << std::endl;
	out << "	ImageType = " << Config.ImageType << std::endl;
	out << "	ClampBounds = [" << Config.ClampBounds[0] << "," << Config.ClampBounds[1] << "]" << std::endl;
	out << "	LUT = " << Config.LUTID << " (Enabled=" << Config.UseLUT << ")" << std::endl;
	return out;
}