~ubuntu-branches/ubuntu/wily/ginkgocadx/wily-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/vtk/vtkopenglginkgotexture.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-10-24 21:28:17 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131024212817-ej1skb9og09d3ht6
Tags: 3.5.0.1137.31+dfsg-1
New upstream release [October 2013]

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
        {
95
95
                return Index;
96
96
        }
 
97
        
 
98
        /** Set Image Brightness (-1.0, 0.0, 1.0) (Only aplicable with RGB Images) **/
 
99
        void SetBrightness(float brightness);
 
100
        
 
101
        /** Set Image Contrast (-1.0, 0.0, 1.0) (Only aplicable with RGB Images) **/
 
102
        void SetContrast(float contrast);
 
103
 
 
104
        /** Get Image Brightness (-1.0, 0.0, 1.0) (Only aplicable with RGB Images) **/
 
105
        float GetBrightness();
 
106
 
 
107
        /** Get Image Contrast (-1.0, 0.0, 1.0) (Only aplicable with RGB Images) **/
 
108
        float GetContrast();
 
109
 
 
110
        void ResetBrightnessAndContrast();
 
111
 
 
112
        void ForceEnableShaders(bool force);
97
113
 
98
114
        //BTX
99
115
protected:
122
138
        int TIndex;
123
139
        bool TIndexChanged;
124
140
        bool LookupTableChanged;
 
141
        bool InternalEnableShaders;
 
142
        bool RGBImage;
 
143
 
 
144
        float Brightness; // Only for RGB Images
 
145
        float Contrast;   // Only for RGB Images
125
146
public:
126
147
        void SetLookupTable(vtkScalarsToColors* table);
127
148