llnl.visit
Class avtMaterialMetaData

java.lang.Object
  extended by llnl.visit.AttributeSubject
      extended by llnl.visit.avtBaseVarMetaData
          extended by llnl.visit.avtMaterialMetaData

public class avtMaterialMetaData
extends avtBaseVarMetaData


Constructor Summary
avtMaterialMetaData()
           
avtMaterialMetaData(avtMaterialMetaData obj)
           
avtMaterialMetaData(int nMoreFields)
           
 
Method Summary
 boolean equals(avtMaterialMetaData obj)
           
 java.util.Vector GetColorNames()
           
 java.util.Vector GetMaterialNames()
           
 int GetNumAdditionalAttributes()
          Returns the number of attributes added in this level of the state object.
 int GetNumMaterials()
           
 int Offset()
          Returns the offset into the selected table where this state object's fields begin.
 void ReadAtts(int id, CommunicationBuffer buf)
          Reads the specified index's data from the buffer into the object.
 void SetColorNames(java.util.Vector colorNames_)
           
 void SetMaterialNames(java.util.Vector materialNames_)
           
 void SetNumMaterials(int numMaterials_)
           
 java.lang.String toString(java.lang.String indent)
           
 void WriteAtts(CommunicationBuffer buf)
          Writes the selected fields of the object to the buffer.
 
Methods inherited from class llnl.visit.avtBaseVarMetaData
equals, GetHideFromGUI, GetMeshName, GetName, GetOriginalName, GetValidVariable, SetHideFromGUI, SetMeshName, SetName, SetOriginalName, SetValidVariable
 
Methods inherited from class llnl.visit.AttributeSubject
Attach, boolToString, Detach, doubleArrayToString, doubleToString, doubleVectorToString, floatArrayToString, floatToString, floatVectorToString, GetAttributeId, GetClassName, intArrayToString, intToString, intVectorToString, IsSelected, Notify, NumAttributes, NumAttributesSelected, Read, Select, SelectAll, SetAttributeId, stringToString, stringVectorToString, toString, ucharArrayToString, ucharToString, ucharVectorToString, UnSelectAll, Write, WriteSelect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

avtMaterialMetaData

public avtMaterialMetaData()

avtMaterialMetaData

public avtMaterialMetaData(int nMoreFields)

avtMaterialMetaData

public avtMaterialMetaData(avtMaterialMetaData obj)
Method Detail

Offset

public int Offset()
Description copied from class: AttributeSubject
Returns the offset into the selected table where this state object's fields begin.

Overrides:
Offset in class avtBaseVarMetaData
Returns:
An offset into the selected table.

GetNumAdditionalAttributes

public int GetNumAdditionalAttributes()
Description copied from class: AttributeSubject
Returns the number of attributes added in this level of the state object.

Overrides:
GetNumAdditionalAttributes in class avtBaseVarMetaData
Returns:
The number of attributes added in this level of the state object.

equals

public boolean equals(avtMaterialMetaData obj)

SetNumMaterials

public void SetNumMaterials(int numMaterials_)

SetMaterialNames

public void SetMaterialNames(java.util.Vector materialNames_)

SetColorNames

public void SetColorNames(java.util.Vector colorNames_)

GetNumMaterials

public int GetNumMaterials()

GetMaterialNames

public java.util.Vector GetMaterialNames()

GetColorNames

public java.util.Vector GetColorNames()

WriteAtts

public void WriteAtts(CommunicationBuffer buf)
Description copied from class: AttributeSubject
Writes the selected fields of the object to the buffer.

Overrides:
WriteAtts in class avtBaseVarMetaData
Parameters:
buf - The communication buffer to which the object will be written.

ReadAtts

public void ReadAtts(int id,
                     CommunicationBuffer buf)
Description copied from class: AttributeSubject
Reads the specified index's data from the buffer into the object.

Overrides:
ReadAtts in class avtBaseVarMetaData
buf - The communication buffer to from which the object will be read.

toString

public java.lang.String toString(java.lang.String indent)
Overrides:
toString in class avtBaseVarMetaData