| 
    VTK
    9.3.0
    
   | 
 
A utility structure serving as a backend for constant implicit arrays. More...
#include <vtkConstantImplicitBackend.h>
Public Member Functions | |
| vtkConstantImplicitBackend (ValueType val) | |
| A non-trivially contructible constructor.   | |
| ValueType | operator() (int vtkNotUsed(index)) const | 
| The main call method for the backend.   | |
Public Attributes | |
| const ValueType | Value | 
| The constant value stored in the backend.   | |
A utility structure serving as a backend for constant implicit arrays.
This structure can be classified as a closure and can be called using syntax similar to a function.
At construction it takes one parameter which is the constant value that it returns from its main function call regardless of index.
An example of potential usage in a vtkImplicitArray
Definition at line 33 of file vtkConstantImplicitBackend.h.
      
  | 
  inline | 
A non-trivially contructible constructor.
| val | the constant value to return for all indeces | 
Definition at line 40 of file vtkConstantImplicitBackend.h.
      
  | 
  inline | 
The main call method for the backend.
Definition at line 50 of file vtkConstantImplicitBackend.h.
| const ValueType vtkConstantImplicitBackend< ValueType >::Value | 
The constant value stored in the backend.
Definition at line 55 of file vtkConstantImplicitBackend.h.