12#ifndef vtkPolyDataMaterial_h
13#define vtkPolyDataMaterial_h
15#include "vtkCommonDataModelModule.h"
20VTK_ABI_NAMESPACE_BEGIN
70 vtkDataObject* obj,
const char* name,
const std::vector<std::string>& values);
89 vtkDataObject* obj,
const char* name,
const std::vector<double>& defaultValue);
general representation of visualization data
a simple class to control print indentation
static void SetField(vtkDataObject *obj, const char *name, const char *value)
Helper functions for setting/getting field arrays.
static void SetField(vtkDataObject *obj, const char *name, double *value, vtkIdType numberOfComponents)
Helper functions for setting/getting field arrays.
static void SetField(vtkDataObject *obj, const char *name, const std::vector< std::string > &values)
Helper functions for setting/getting field arrays.
static std::vector< std::string > GetField(vtkDataObject *obj, const char *name)
It returns an empty vector if the field does not exists.
static const char * GetTransparencyName()
Names for fields stored in the vtkPolyData.
static const char * GetTextureURIName()
Names for fields stored in the vtkPolyData.
static const char * GetDiffuseColorName()
Names for fields stored in the vtkPolyData.
static vtkPolyDataMaterial * New()
static const char * GetShininessName()
Field between 0 (matte, large highlight) and 1 (highly glossy, small/sharp highlight)
vtkPolyDataMaterial()=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static const char * GetSpecularColorName()
Names for fields stored in the vtkPolyData.
static std::vector< double > GetField(vtkDataObject *obj, const char *name, const std::vector< double > &defaultValue)
It returns the defaultValue if the field does not exists.