30 #ifndef vtkUniformVariables_h 
   31 #define vtkUniformVariables_h 
   33 #include "vtkRenderingOpenGLModule.h"  
   36 class vtkUniformVariablesMap; 
 
   51   void SetUniformi(
const char *
name,
 
   52                    int numberOfComponents,
 
   56   void SetUniformit(
const char *
name,
 
   57                    int numberOfComponents,
 
   62   { this->SetUniformit(name, 1, &value); }
 
   70   void SetUniformf(
const char *
name,
 
   71                    int numberOfComponents,
 
   75   void SetUniformft(
const char *
name,
 
   76                    int numberOfComponents,
 
   81   { this->SetUniformft(name, 1, &value); }
 
   91   void SetUniformiv(
const char *
name,
 
   92                     int numberOfComponents,
 
  104   void SetUniformfv(
const char *
name,
 
  105                     int numberOfComponents,
 
  116   void SetUniformMatrix(
const char *
name,
 
  124   void RemoveUniform(
const char *
name);
 
  129   void RemoveAllUniforms();
 
  134   void Send(
const char *
name,
 
  151   const char *GetCurrentName();
 
  157   void SendCurrentUniform(
int uniformIndex);
 
  189   vtkUniformVariablesMap *Map;
 
  195                    int numberOfComponents,
 
  199   for (
int i=0; i<numberOfComponents; ++i)
 
  201     ivalues[i] = 
static_cast<int>(value[i]);
 
  203   this->SetUniformi(name, numberOfComponents, ivalues);
 
  209                    int numberOfComponents,
 
  213   for (
int i=0; i<numberOfComponents; ++i)
 
  215     fvalues[i] = 
static_cast<float>(value[i]);
 
  217   this->SetUniformf(name, numberOfComponents, fvalues);
 
abstract base class for most VTK objects 
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses. 
 
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
 
a simple class to control print indentation 
 
static const unsigned int numberOfElements
 
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...