GraphicsIndexSet Object
Derived from:
GraphicsDataSet Object
Description
The GraphicsIndexSet object contains a list of indices. This object can be referenced by any number of graphic primitives to use in defining the list of indices that index into a coordinate set.
Methods
Add |
Method that adds a new index to the set. |
Delete |
Method that deletes the GraphicsDataSet. |
GetIndices |
Method that gets all of the indices of the set. |
PutIndices |
Method that sets all of the indices of the set. This will replace any existing indices currently defined for the set. |
Remove |
Method that removes a coordinate from the set. |
Properties
Count |
Property that returns the number of objects in this collection. |
Id |
Property returning the unique id of this GraphicsDataSet. |
IndexValue |
Allows integer-indexed access to items in the collection. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
GraphicsDataSets.CreateIndexSet,
LineGraphics.ColorIndexSet,
LineGraphics.CoordinateIndexSet,
LineStripGraphics.ColorIndexSet,
LineStripGraphics.CoordinateIndexSet,
MeshFeatureEntity.ColorIndexSet,
MeshFeatureEntity.CoordinateIndexSet,
MeshFeatureEntity.NormalIndexSet,
MeshFeatureEntityProxy.ColorIndexSet,
MeshFeatureEntityProxy.CoordinateIndexSet,
MeshFeatureEntityProxy.NormalIndexSet,
PointGraphics.CoordinateIndexSet,
PresentationMeshFeatureEntity.ColorIndexSet,
PresentationMeshFeatureEntity.CoordinateIndexSet,
PresentationMeshFeatureEntity.NormalIndexSet,
TriangleFanGraphics.ColorIndexSet,
TriangleFanGraphics.CoordinateIndexSet,
TriangleFanGraphics.NormalIndexSet,
TriangleFanGraphics.TextureCoordinateIndexSet,
TriangleGraphics.ColorIndexSet,
TriangleGraphics.CoordinateIndexSet,
TriangleGraphics.NormalIndexSet,
TriangleGraphics.TextureCoordinateIndexSet,
TriangleStripGraphics.ColorIndexSet,
TriangleStripGraphics.CoordinateIndexSet,
TriangleStripGraphics.NormalIndexSet,
TriangleStripGraphics.TextureCoordinateIndexSet
Samples
Client graphics texture-based color mapping |
This test applies texture coordinates expressing distance from the origin to 'the triangle mesh of whatever Part you have open. It then creates either a discrete-band or continuous color mapper and allows you to adjust the values of the mapper to change the range of values that map to various colors. |
Client Graphics - Vertex Color by Z Height |
This sample demonstrates using client graphics and some other functions that help to support display control. It uses the currently active part and replaces the part display with a display where the part's color varies from blue to red where blue is assigned to the lowest Z portion of the part and red is assigned to the highest Z portion of the part. Areas in between are represented by a smooth blend of color from blue to red. |
Client Graphics - Triangle |
This sample demonstrates the creation of client graphics triangles using triange fans and strips. It does this by drawing a cylinder. The end caps are triangle fans and the cylinder is made from a triangle strip. |
Version
Introduced in version 5