GeometryLayer Class Reference
#include <Ample.h>
List of all members.
Detailed Description
Geometry node layer class. Represents a single layer in a geometry node.
Member Typedef Documentation
Member Enumeration Documentation
Geometry stack enumeration.
- Enumerator:
| VERTEX |
The geometry layer is a member of the vertex stack.
|
| POLYGON |
The geometry layer is a member of the polygon stack.
|
Member Function Documentation
Adds the specified observer to this object.
- Parameters:
-
| observer | The observer to add. |
Destroys this geometry layer.
| unsigned int getDataVersion |
( |
void |
|
) |
const [inherited] |
- Returns:
- The current version of the internal state.
| uint32 getDefaultInt |
( |
void |
|
) |
const |
- Returns:
- the default value for uninitialized integer slots.
| real64 getDefaultReal |
( |
void |
|
) |
const |
- Returns:
- the default value for uninitialized real slots.
| VLayerID getID |
( |
void |
|
) |
const |
- Returns:
- The ID of this geometry layer.
| const std::string& getName |
( |
void |
|
) |
const |
- Returns:
- The name of this geometry layer.
- Returns:
- The node containing this geometry layer.
| const ObserverList& getObservers |
( |
void |
|
) |
const [inline, inherited] |
- Returns:
- The list of observers attached to this object.
| VNRealFormat getRealFormat |
( |
void |
|
) |
const |
- Returns:
- The quality of real value geometry layers.
| bool getSlot |
( |
uint32 |
slotID, |
|
|
void * |
data | |
|
) |
| | const |
Retrieves the specified slot from this geometry layer.
- Parameters:
-
| slotID | The index of the desired slot. |
| data | The location to store the slot data. |
- Returns:
true if the slot exists, otherwise false.
| unsigned int getSlotSize |
( |
void |
|
) |
const |
- Returns:
- The size, in bytes, of a slot in this geometry layer.
| Stack getStack |
( |
void |
|
) |
const |
- Returns:
- The stack in which this layer exists.
| unsigned int getStructureVersion |
( |
void |
|
) |
const [inherited] |
- Returns:
- The current version of the internal structure.
| VNGLayerType getType |
( |
void |
|
) |
const |
- Returns:
- The type of the slots in this geometry layer.
Removes the specified observer from this object.
- Parameters:
-
| observer | The observer to remove. |
Removes the specified observer from this object.
- Parameters:
-
| observer | The observer to remove. |
| void setName |
( |
const std::string & |
name |
) |
|
Changes the name of this geometry layer.
- Parameters:
-
| void setSlot |
( |
uint32 |
slotID, |
|
|
const void * |
data | |
|
) |
| | |
Changes the specified slot in this geometry layer.
- Parameters:
-
| slotID | The index of the desired slot. |
| data | The location to retrieve the slot data from. |
Friends And Related Function Documentation