Blender V2.61 - r43446
Public Member Functions | Public Attributes

AttributeSet Class Reference

#include <attribute.h>

List of all members.

Public Member Functions

 AttributeSet (Mesh *mesh)
 ~AttributeSet ()
Attributeadd (ustring name, TypeDesc type, Attribute::Element element)
Attributefind (ustring name)
void remove (ustring name)
Attributeadd (Attribute::Standard std, ustring name=ustring())
Attributefind (Attribute::Standard std)
void remove (Attribute::Standard std)
Attributefind (AttributeRequest &req)
void reserve (int numverts, int numfaces)
void clear ()

Public Attributes

Meshmesh
list< Attributeattributes

Detailed Description

Definition at line 92 of file attribute.h.


Constructor & Destructor Documentation

AttributeSet::AttributeSet ( Mesh mesh)

Definition at line 104 of file attribute.cpp.

References mesh.

AttributeSet::~AttributeSet ( )

Definition at line 109 of file attribute.cpp.


Member Function Documentation

Attribute * AttributeSet::add ( ustring  name,
TypeDesc  type,
Attribute::Element  element 
)
Attribute * AttributeSet::add ( Attribute::Standard  std,
ustring  name = ustring() 
)
void AttributeSet::clear ( )

Definition at line 232 of file attribute.cpp.

References attributes.

Referenced by Mesh::clear().

Attribute * AttributeSet::find ( ustring  name)
Attribute * AttributeSet::find ( Attribute::Standard  std)

Definition at line 193 of file attribute.cpp.

References attributes, NULL, and Attribute::std.

Attribute * AttributeSet::find ( AttributeRequest req)
void AttributeSet::remove ( Attribute::Standard  std)

Definition at line 202 of file attribute.cpp.

References attributes, and find().

void AttributeSet::remove ( ustring  name)

Definition at line 150 of file attribute.cpp.

References attributes, and find().

Referenced by MeshManager::displace(), xml_read_mesh(), and xml_read_patch().

void AttributeSet::reserve ( int  numverts,
int  numfaces 
)

Definition at line 226 of file attribute.cpp.

References attributes, and Attribute::reserve().

Referenced by Mesh::reserve().


Member Data Documentation

Definition at line 95 of file attribute.h.

Referenced by add(), clear(), find(), remove(), and reserve().

Definition at line 94 of file attribute.h.

Referenced by add(), and AttributeSet().


The documentation for this class was generated from the following files: