00001 //============================================================================= 00002 // This file is part of VTKEdge. See vtkedge.org for more information. 00003 // 00004 // Copyright (c) 2010 Kitware, Inc. 00005 // 00006 // VTKEdge may be used under the terms of the BSD License 00007 // Please see the file Copyright.txt in the root directory of 00008 // VTKEdge for further information. 00009 // 00010 // Alternatively, you may see: 00011 // 00012 // http://www.vtkedge.org/vtkedge/project/license.html 00013 // 00014 // 00015 // For custom extensions, consulting services, or training for 00016 // this or any other Kitware supported open source project, please 00017 // contact Kitware at sales@kitware.com. 00018 // 00019 // 00020 //============================================================================= 00033 #ifndef __vtkKWEObjectTreeColorProperty_h 00034 #define __vtkKWEObjectTreeColorProperty_h 00035 00036 #include "vtkKWEObjectTreePropertyBase.h" 00037 00038 class vtkInformationDoubleVectorKey; 00039 00040 class VTKEdge_FILTERING_EXPORT vtkKWEObjectTreeColorProperty : public vtkKWEObjectTreePropertyBase 00041 { 00042 public: 00043 static vtkKWEObjectTreeColorProperty* New(); 00044 vtkTypeRevisionMacro(vtkKWEObjectTreeColorProperty, vtkKWEObjectTreePropertyBase); 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 00047 static vtkInformationDoubleVectorKey* COLOR(); 00048 00050 00051 double *GetColor(); 00052 void SetColor(double *color); 00054 00056 00058 static vtkInformationObjectBaseKey* KEY(); 00059 virtual vtkInformationObjectBaseKey* GetKey() 00060 { 00061 return KEY(); 00062 } 00064 00065 protected: 00066 vtkKWEObjectTreeColorProperty() {}; 00067 ~vtkKWEObjectTreeColorProperty() {}; 00068 00069 00070 private: 00071 vtkKWEObjectTreeColorProperty(const vtkKWEObjectTreeColorProperty&); // Not implemented. 00072 void operator=(const vtkKWEObjectTreeColorProperty&); // Not implemented. 00073 }; 00074 00075 #endif
1.7.1