TPaletteEditor


class description - source file - inheritance tree

class TPaletteEditor


    public:
TPaletteEditor TPaletteEditor(TAttImage* attImage, UInt_t w, UInt_t h) TPaletteEditor TPaletteEditor(const TPaletteEditor&) void ~TPaletteEditor() static TClass* Class() virtual void CloseWindow() virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TAttImage* fAttImage image attributes to be edited

Class Description

                                                                      
  TAttImage                                                           
                                                                      
  Image attributes are:                                               
    Image Quality (see EImageQuality for the list of qualities)       
    Compression defines the compression rate of the color data in the 
                internal image structure. Speed and memory depends    
                on this rate, but not the image display itself        
                0: no compression;  100: max compression              
    Radio Flag: kTRUE  the x/y radio of the displayed image is always 
                       identical to the original image                
                kFALSE the x and y size of the displayed image depends
                       on the size of the pad                         
    Palette:    Defines the conversion from a pixel value to the      
                screen color                                          
                                                                      
  This class is used (in general by secondary inheritance)            
  by some other classes (image display).                              
                                                                      
                                                                      
  TImagePalette                                                       
                                                                      
  A class to define a conversion from pixel values to pixel color.    
  A Palette is defined by some anchor points. Each anchor point has   
  a value between 0 and 1 and a color. An image has to be normalized  
  and the values between the anchor points are interpolated.          
  All member variables are public and can be directly manipulated.    
  In most cases the default operator will be used to create a         
  TImagePalette. In this case the member arrays have to be allocated  
  by an application and will be deleted in the destructor of this     
  class.                                                              
                                                                      
                                                                      
  TPaletteEditor                                                      
                                                                      
  This class provides a way to edit the palette via a GUI.            
                                                                      


TPaletteEditor(TAttImage *attImage, UInt_t, UInt_t)
 Constructor.

void CloseWindow()
 Closes the window and deletes itself.



Inline Functions


               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)
        TPaletteEditor TPaletteEditor(const TPaletteEditor&)
                  void ~TPaletteEditor()


Author: Reiner Rohlfs 24/03/02
Last update: root/graf:$Name: $:$Id: TAttImage.cxx,v 1.3 2002/12/02 18:50:02 rdm Exp $
Copyright (C) 2001-2001, Rene Brun, Fons Rademakers and Reiner Rohlfs *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.