//**************************************************************************/
// Copyright (c) 2008 Autodesk, Inc.
// All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this software in either electronic or hard copy form.
//
//**************************************************************************/
// DESCRIPTION:
// CREATED: September 2009
//**************************************************************************/

#if !defined IMAGE_PLANE_H_
#define IMAGE_PLANE_H_

namespace mudbox {

class MBDLL_DECL ImagePlaneInterface: public Node
{
	DECLARE_CLASS;

public:
    mudbox::Matrix TMatrix() const;             // returns the current matrix of the image plane
    mudbox::Image *Image() const;               // returns the image data used by the plane to sample from
    float Depth() const;                        // returns the depth of the image plane
    bool Visible( void ) const ;                // check if the image plane is displayed at all
    mudbox::Matrix ImageToScreenMatrix() const; // returns the transformation matrix from image plane local coordinate to screen coordinate
};



//-
// ==================================================================
// (C) Copyright 2009 by Autodesk, Inc. All Rights Reserved. By using
// this code,  you  are  agreeing  to the terms and conditions of the
// License  Agreement  included  in  the documentation for this code.
// AUTODESK  MAKES  NO  WARRANTIES,  EXPRESS  OR  IMPLIED,  AS TO THE
// CORRECTNESS OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE
// IT.  AUTODESK PROVIDES THE CODE ON AN 'AS-IS' BASIS AND EXPLICITLY
// DISCLAIMS  ANY  LIABILITY,  INCLUDING CONSEQUENTIAL AND INCIDENTAL
// DAMAGES  FOR ERRORS, OMISSIONS, AND  OTHER  PROBLEMS IN THE  CODE.
//
// Use, duplication,  or disclosure by the U.S. Government is subject
// to  restrictions  set forth  in FAR 52.227-19 (Commercial Computer
// Software Restricted Rights) as well as DFAR 252.227-7013(c)(1)(ii)
// (Rights  in Technical Data and Computer Software),  as applicable.
// ==================================================================
//+

#endif
//------------------------------------------------------------------------------

}; // end of namespace mudbox
