13 #ifndef vtkConstantDoubleArray_h 14 #define vtkConstantDoubleArray_h 16 #include "vtkConstantArray.h" 22 #define vtkDataArray vtkConstantArray<double> 25 class VTKCOMMONCORE_EXPORT VTK_DEPRECATED_IN_9_6_0("Use vtkConstantType*Array instead
") vtkConstantDoubleArray : public vtkDataArray 28 vtkImplicitArrayTypeMacro(vtkConstantDoubleArray, vtkDataArray); 33 // This macro expands to the set of method declarations that 34 // make up the interface of vtkAOSDataArrayTemplate, which is ignored 36 #if defined(__VTK_WRAP__) || defined(__WRAP_GCCXML__) 37 vtkCreateReadOnlyWrappedArrayInterface(double); 40 static vtkConstantDoubleArray* New(); 41 static vtkConstantDoubleArray* ExtendedNew(); 42 void PrintSelf(ostream& os, vtkIndent indent) override; 44 // This macro expands to the set of method declarations that 45 // make up the interface of vtkImplicitArray, which is ignored 51 static vtkConstantDoubleArray* FastDownCast(vtkAbstractArray* source) 53 return static_cast<vtkConstantDoubleArray*>(Superclass::FastDownCast(source)); 59 void ConstructBackend(double value); 62 vtkConstantDoubleArray(); 63 ~vtkConstantDoubleArray() override; 66 typedef vtkConstantArray<double> RealSuperclass; 68 vtkConstantDoubleArray(const vtkConstantDoubleArray&) = delete; 69 void operator=(const vtkConstantDoubleArray&) = delete; 72 // Define vtkArrayDownCast implementation: 73 vtkArrayDownCast_FastCastMacro(vtkConstantDoubleArray); 77 // VTK-HeaderTest-Exclude: TYPEMACRO
#define VTKCOMMONCORE_EXPORT
#define VTK_ABI_NAMESPACE_BEGIN