17#ifndef __mmaMaterial_H__
18#define __mmaMaterial_H__
62 virtual void Print(std::ostream& os,
const int tabs=0)
const;
104 double m_HueRange[2];
105 double m_SaturationRange[2];
106 double m_TableRange[2];
An abstract class for objects representing an attribute for albaVMEs.
Abstract class representing the interface for the unit of information stored in the storage.
albaString - performs common string operations on c-strings.
virtual int InternalStore(albaStorageElement *parent)
This is called by Store() and must be reimplemented by subclasses.
albaString m_MaterialName
virtual void Print(std::ostream &os, const int tabs=0) const
print a dump of this object
virtual int InternalRestore(albaStorageElement *node)
This is called by Restore() and must be reimplemented by subclasses The element from which the object...
int GetMaterialTextureID()
Return the vme's id representing the texture.
vtkLookupTable * m_ColorLut
virtual bool Equals(const albaAttribute *a)
Compare with another Meter attribute.
vtkImageData * GetMaterialTexture()
Return the texture set as vtkImageData.
vtkImageData * m_TextureImage
virtual void UpdateProp()
Apply shading parameters to the vtkProperty.
double m_DiffuseIntensity
double m_SpecularIntensity
void SetMaterialTexture(int tex_id)
Set the albaVMEImage id to use as texture to map on the surface.
void SetMaterialTexture(vtkImageData *tex)
Set the texture image to map on the surface.
albaTypeMacro(mmaMaterial, albaAttribute)
double m_AmbientIntensity
void UpdateFromLut()
This method updates member variables from Lookup Table.
wxBitmap * MakeIcon()
Build the material icon.
virtual void DeepCopy(const albaAttribute *a)
Copy the contents of another Meter attribute into this one.