/*========================================================================= Program: Visualization Toolkit Module: vtkButtonRepresentation.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ /** * @class vtkButtonRepresentation * @brief abstract class defines the representation for a vtkButtonWidget * * This abstract class is used to specify how the vtkButtonWidget should * interact with representations of the vtkButtonWidget. This class may be * subclassed so that alternative representations can be created. The class * defines an API, and a default implementation, that the vtkButtonWidget * interacts with to render itself in the scene. * * The vtkButtonWidget assumes an n-state button so that traversal methods * are available for changing, querying and manipulating state. Derived * classed determine the actual appearance. The state is represented by an * integral value 0<=state