PathEngine home previous: iContentChunk::save()next: iContentChunkInstance::addAnchorsAndShapes()
Contents, API Reference, Interfaces, iContentChunkInstance

Interface iContentChunkInstance

Description

Lightweight API object for working with content chunk geometry instantiated at a given position and orientation.

Refer to 2D Content Processing for information about PathEngine's content processing functionality.

This interface is defined in SDKRoot/include/i_pathengine.h.

Construction and Deletion

iContentChunkInstance objects can be constructed with the instantate methods on Interface iContentChunk. iContentChunkInstance objects can be deleted explicitly by calling delete on the pointer or by calling the object's destroy() function. iContentChunkInstance objects are also deleted automatically when their base content chunk is destroyed.

Methods:

addAnchorsAndShapes

Adds the set of anchors and shapes associated with this content chunk instance to the specified mesh.

edgesCanConnect

Used to check whether edge pieces can actually be connected, before actually calling iContentChunkInstance::makeEdgeConnection() for the connection.

getAnchorsAndShapesPointer

Provides access to a transformed 'anchors and shapes' object managed internally by the content chunk instance.

getConnectingEdgeGeometry

Used to query the number of connecting edges marked up in the instanced chunk's ground geometry.

getContentChunk

A helper function to obtain the content chunk for which this is an instance.

getGroundPointer

Provides access to a transformed iFaceVertexMesh object managed internally by the content chunk instance.

getHorizontalRange

Queries the horizontal range covered by the instanced geometry.

makeEdgeConnection

Used to explicitly setup bridging geometry between edge to edge connection markers.
This can be useful where it is desirable for a custom editor to explicitly manage these edge to edge connections, and is required when calling iMeshFederation::buildTileMeshFromContent().

numberOfConnectingEdges

Used to query the number of connecting edges marked up in the instanced chunk's ground geometry.


Documentation for PathEngine release 5.23 - Copyright © 2002-2010 PathEnginenext: iContentChunkInstance::addAnchorsAndShapes()