00001 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 * 00003 * $Id: vtkPaletteDiffuseColorParser.h,v 1.1 2004/06/02 11:35:08 xpxqx Exp $ 00004 * 00005 * Copyright (c) 2004 Sean McInerney 00006 * All rights reserved. 00007 * 00008 * See Copyright.txt or http://vtkextensions.sourceforge.net/Copyright.html 00009 * for details. 00010 * 00011 * This software is distributed WITHOUT ANY WARRANTY; without even 00012 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 * PURPOSE. See the above copyright notice for more information. 00014 * 00015 */ 00016 #ifndef VTK_PALETTE_DIFFUSE_COLOR_PARSER_H_ 00017 # define VTK_PALETTE_DIFFUSE_COLOR_PARSER_H_ 00018 # include "vtkPaletteColorBaseParser.h" 00019 00020 VTK_EXTENSIONS_PALETTE_NAMESPACE_BEGIN 00021 00032 class VTK_EXTENSIONS_PALETTE_EXPORT vtkPaletteDiffuseColorParser 00033 : public vtkPaletteColorBaseParser 00034 { 00035 public: 00036 static vtkPaletteDiffuseColorParser* New (void); 00037 vtkTypeRevisionMacro (vtkPaletteDiffuseColorParser, 00038 vtkPaletteColorBaseParser); 00039 00040 protected: 00041 vtkPaletteDiffuseColorParser (void) {} 00042 ~vtkPaletteDiffuseColorParser() {} 00043 00044 //BTX 00045 friend class vtkPaletteMaterialParser; 00046 00048 vtkPaletteDiffuseColorParser (vtkAbstractPaletteMaterialParser* parent, 00049 const XML_Char** attrs); 00050 //ETX 00051 00052 private: 00059 vtkPaletteDiffuseColorParser (vtkPaletteElementParser*); 00060 vtkPaletteDiffuseColorParser (const vtkPaletteDiffuseColorParser&); 00061 void operator= (const vtkPaletteDiffuseColorParser&); 00063 }; 00064 00065 VTK_EXTENSIONS_PALETTE_NAMESPACE_END 00066 00067 #endif /* VTK_PALETTE_DIFFUSE_COLOR_PARSER_H_ */ 00068 /* 00069 * End of: $Id: vtkPaletteDiffuseColorParser.h,v 1.1 2004/06/02 11:35:08 xpxqx Exp $. 00070 * 00071 */