Overview

Sample Code

Programming Guide

API Reference

Support

HPS.CylinderKit Class Reference

The CylinderKit class is a user space object. It is a kit analog to a CylinderKey. More...

Inheritance diagram for HPS.CylinderKit:
HPS.Object

Public Member Functions

void Consume (HPS.CylinderKit in_kit)
 Copies the source CylinderKit into this CylinderKit and resets the source kit. More...
 
 CylinderKit ()
 The default constructor creates an empty CylinderKit object. More...
 
 CylinderKit (HPS.CylinderKit in_kit)
 The copy constructor creates a new CylinderKit object that contains the same settings as the source CylinderKit. More...
 
override void Dispose ()
 
override bool Empty ()
 Indicates whether this CylinderKit has any values set on it. More...
 
override bool Equals (System.Object obj)
 
bool Equals (HPS.CylinderKit in_kit)
 Check if the source CylinderKit is equivalent to this CylinderKit. More...
 
override int GetHashCode ()
 
ulong GetPointCount ()
 Retrieves the number of points in this cylinder. More...
 
override HPS.Type ObjectType ()
 This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More...
 
void Set (HPS.CylinderKit in_kit)
 Copies the source CylinderKit into this CylinderKit. More...
 
HPS.CylinderKit SetCaps (HPS.Cylinder.Capping in_capping)
 Sets the capping for this CylinderKit. More...
 
HPS.CylinderKit SetPoints (HPS.Point[] in_points)
 Sets the points for this CylinderKit. More...
 
HPS.CylinderKit SetPriority (int in_priority)
 Assigns a specific drawing priority value to the CylinderKit. It affects the order in which the contents of this segment are drawn if and only if the rendering algorithm is set to Priority. More...
 
HPS.CylinderKit SetRadii (float[] in_radii)
 Sets the radii for this CylinderKit. If the size of the radii array is smaller than the point array, the radii array will be walked repeatedly to determine the radius for all points. More...
 
HPS.CylinderKit SetUserData (IntPtr in_index, ulong in_bytes, byte[] in_data)
 Sets user data on this kit. More...
 
HPS.CylinderKit SetUserData (IntPtr in_index, byte[] in_data)
 Sets user data on this kit. More...
 
HPS.CylinderKit SetUserData (IntPtr[] in_indices, byte[][] in_data)
 Sets user data on this kit. More...
 
HPS.CylinderKit SetVertexIndexColorsByList (ulong[] in_vertices, float[] in_indices, HPS.Cylinder.Component in_apply_to)
 Sets vertex material indices on a selection of arbitrary vertices which apply to the specified cylinder component. If the sizes of the vertex index and material index arrays are different, the smaller size will be used. More...
 
HPS.CylinderKit SetVertexIndexColorsByList (ulong[] in_vertices, float[] in_indices)
 Sets vertex material indices on a selection of arbitrary vertices which apply to the specified cylinder component. If the sizes of the vertex index and material index arrays are different, the smaller size will be used. More...
 
HPS.CylinderKit SetVertexIndexColorsByList (ulong[] in_vertices, float in_index, HPS.Cylinder.Component in_apply_to)
 Sets a single material index on a selection of arbitrary vertices which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexIndexColorsByList (ulong[] in_vertices, float in_index)
 Sets a single material index on a selection of arbitrary vertices which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexIndexColorsByRange (ulong in_start, float[] in_indices, HPS.Cylinder.Component in_apply_to)
 Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexIndexColorsByRange (ulong in_start, float[] in_indices)
 Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexIndexColorsByRange (ulong in_start, ulong in_count, float in_index, HPS.Cylinder.Component in_apply_to)
 Sets a single material index on a range of vertices starting at the specified offset which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexIndexColorsByRange (ulong in_start, ulong in_count, float in_index)
 Sets a single material index on a range of vertices starting at the specified offset which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor[] in_rgb_colors, HPS.Cylinder.Component in_apply_to)
 Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified cylinder component. If the sizes of the vertex index array and the color array different, the smaller size will be used. More...
 
HPS.CylinderKit SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor[] in_rgb_colors)
 Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified cylinder component. If the sizes of the vertex index array and the color array different, the smaller size will be used. More...
 
HPS.CylinderKit SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor in_rgb_color, HPS.Cylinder.Component in_apply_to)
 Sets a single RGB color on a selection of arbitrary vertices which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor in_rgb_color)
 Sets a single RGB color on a selection of arbitrary vertices which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexRGBColorsByRange (ulong in_start, HPS.RGBColor[] in_rgb_colors, HPS.Cylinder.Component in_apply_to)
 Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexRGBColorsByRange (ulong in_start, HPS.RGBColor[] in_rgb_colors)
 Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexRGBColorsByRange (ulong in_start, ulong in_count, HPS.RGBColor in_rgb_color, HPS.Cylinder.Component in_apply_to)
 Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified cylinder component. More...
 
HPS.CylinderKit SetVertexRGBColorsByRange (ulong in_start, ulong in_count, HPS.RGBColor in_rgb_color)
 Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified cylinder component. More...
 
void Show (out HPS.CylinderKit out_kit)
 Copies this CylinderKit into the given CylinderKit. More...
 
bool ShowCaps (out HPS.Cylinder.Capping out_caps)
 Show the capping for this CylinderKit. More...
 
bool ShowPoints (out HPS.Point[] out_points)
 Show the points for this CylinderKit. More...
 
bool ShowPointsByList (ulong[] in_indices, out HPS.Point[] out_points)
 Show a subset of the points for this CylinderKit by list. More...
 
bool ShowPointsByRange (ulong in_start_index, ulong in_count, out HPS.Point[] out_points)
 Show a subset of the points for this CylinderKit by range. More...
 
bool ShowPriority (out int out_priority)
 Shows the drawing priority. More...
 
bool ShowRadii (out float[] out_radii)
 Show the radii for this CylinderKit. More...
 
bool ShowUserData (IntPtr in_index, out byte[] out_data)
 Shows the user data at a given index for this kit. More...
 
bool ShowUserData (out IntPtr[] out_indices, out byte[][] out_data)
 Shows all user data for this kit. More...
 
ulong ShowUserDataCount ()
 Get the number of user data indices set on this kit. More...
 
bool ShowUserDataIndices (out IntPtr[] out_indices)
 Shows the indices of all user data set on this kit. More...
 
bool ShowVertexColors (HPS.Cylinder.Component in_apply_to, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out float[] out_indices)
 Shows all the vertex colors of the specified cylinder component. More...
 
bool ShowVertexColorsByList (ulong[] in_vertices, HPS.Cylinder.Component in_apply_to, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out float[] out_indices)
 Shows the vertex colors on a selection of arbitrary vertices which apply to the specified cylinder component. The order of the values in the ouput arrays is the same as the input vertex index array, i.e., the values of out_types[i], out_rgb_colors[i], out_rgba_colors[i], and out_indices[i], correspond to the vertex at index in_vertices[i]. More...
 
bool ShowVertexColorsByRange (ulong in_start, ulong in_count, HPS.Cylinder.Component in_apply_to, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out float[] out_indices)
 Shows the vertex colors on a range of vertices starting at the specified offset which apply to the specified cylinder component. More...
 
HPS.CylinderKit UnsetAllUserData ()
 Removes all user data from this kit. More...
 
HPS.CylinderKit UnsetCaps ()
 Removes the capping for this CylinderKit. More...
 
HPS.CylinderKit UnsetEverything ()
 Removes all settings from the CylinderKit. More...
 
HPS.CylinderKit UnsetPoints ()
 Removes the points for this CylinderKit. More...
 
HPS.CylinderKit UnsetPriority ()
 Removes a drawing priority setting. More...
 
HPS.CylinderKit UnsetRadii ()
 Removes the radii for this CylinderKit. More...
 
HPS.CylinderKit UnsetUserData (IntPtr in_index)
 Removes the user data at the given index from this kit. More...
 
HPS.CylinderKit UnsetUserData (IntPtr[] in_indices)
 Removes the user data at the given indices from this kit. More...
 
HPS.CylinderKit UnsetVertexColors ()
 Removes all vertex colors (RGB colors or material indices) for all cylinder components. More...
 
HPS.CylinderKit UnsetVertexColors (HPS.Cylinder.Component in_apply_to)
 Removes all vertex colors (RGB colors or material indices) for the specified cylinder component. More...
 
HPS.CylinderKit UnsetVertexColorsByList (ulong[] in_vertices)
 Removes the vertex colors (RGB colors or material indices) for all cylinder components on a selection of arbitrary vertices. More...
 
HPS.CylinderKit UnsetVertexColorsByList (ulong[] in_vertices, HPS.Cylinder.Component in_apply_to)
 Removes the vertex colors (RGB colors or material indices) for the specified cylinder component on a selection of arbitrary vertices. More...
 
HPS.CylinderKit UnsetVertexColorsByRange (ulong in_start, ulong in_count)
 Removes the specified range of vertex colors (RGB colors or material indices) for all cylinder components starting at the specified offset. More...
 
HPS.CylinderKit UnsetVertexColorsByRange (ulong in_start, ulong in_count, HPS.Cylinder.Component in_apply_to)
 Removes the specified range of vertex colors (RGB colors or material indices) for the specified cylinder component starting at the specified offset. More...
 
- Public Member Functions inherited from HPS.Object
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More...
 
bool HasType (HPS.Type in_mask)
 This function indicates whether this Object has the given Type mask. More...
 
 Object (HPS.Object that)
 
virtual void Reset ()
 Resets this object to its initial, uninitialized state. More...
 
HPS.Type Type ()
 This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More...
 

Static Public Member Functions

static bool operator!= (HPS.CylinderKit a, HPS.CylinderKit b)
 
static bool operator== (HPS.CylinderKit a, HPS.CylinderKit b)
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 
HandleRef scptr
 

Detailed Description

The CylinderKit class is a user space object. It is a kit analog to a CylinderKey.

Constructor & Destructor Documentation

HPS.CylinderKit.CylinderKit ( )
inline

The default constructor creates an empty CylinderKit object.

HPS.CylinderKit.CylinderKit ( HPS.CylinderKit  in_kit)
inline

The copy constructor creates a new CylinderKit object that contains the same settings as the source CylinderKit.

Parameters
in_kitThe source CylinderKit to copy.

Member Function Documentation

void HPS.CylinderKit.Consume ( HPS.CylinderKit  in_kit)
inline

Copies the source CylinderKit into this CylinderKit and resets the source kit.

Parameters
in_kitThe source CylinderKit to consume.
override bool HPS.CylinderKit.Empty ( )
inlinevirtual

Indicates whether this CylinderKit has any values set on it.

Returns
true if no values are set on this CylinderKit, false otherwise.

Reimplemented from HPS.Object.

bool HPS.CylinderKit.Equals ( HPS.CylinderKit  in_kit)
inline

Check if the source CylinderKit is equivalent to this CylinderKit.

Parameters
in_kitThe source CylinderKit to compare to this CylinderKit.
Returns
true if the objects are equivalent, false otherwise.
ulong HPS.CylinderKit.GetPointCount ( )
inline

Retrieves the number of points in this cylinder.

Returns
The number of points in this cylinder.
override HPS.Type HPS.CylinderKit.ObjectType ( )
inlinevirtual

This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from HPS.Object.

void HPS.CylinderKit.Set ( HPS.CylinderKit  in_kit)
inline

Copies the source CylinderKit into this CylinderKit.

Parameters
in_kitThe source CylinderKit to copy.
HPS.CylinderKit HPS.CylinderKit.SetCaps ( HPS.Cylinder.Capping  in_capping)
inline

Sets the capping for this CylinderKit.

Parameters
in_cappingThe capping for this CylinderKit.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetPoints ( HPS.Point[]  in_points)
inline

Sets the points for this CylinderKit.

Parameters
in_pointsThe points for this CylinderKit.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetPriority ( int  in_priority)
inline

Assigns a specific drawing priority value to the CylinderKit. It affects the order in which the contents of this segment are drawn if and only if the rendering algorithm is set to Priority.

Parameters
in_priorityThe drawing priority, higher priority items are drawn on top of lower priority items.
Returns
A reference to this object.

SubwindowKit::SetPriority()

SubwindowKit::SetRenderingAlgorithm()

HPS.CylinderKit HPS.CylinderKit.SetRadii ( float[]  in_radii)
inline

Sets the radii for this CylinderKit. If the size of the radii array is smaller than the point array, the radii array will be walked repeatedly to determine the radius for all points.

Parameters
in_radiiThe radii for this CylinderKit.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetUserData ( IntPtr  in_index,
ulong  in_bytes,
byte[]  in_data 
)
inline

Sets user data on this kit.

Parameters
in_indexThe index of the user data to set.
in_bytesThe number of bytes of user data to set.
in_dataThe bytes of user data to set.
Returns
A reference to this kit.
HPS.CylinderKit HPS.CylinderKit.SetUserData ( IntPtr  in_index,
byte[]  in_data 
)
inline

Sets user data on this kit.

Parameters
in_indexThe index of the user data to set.
in_dataThe bytes of user data to set.
Returns
A reference to this kit.
HPS.CylinderKit HPS.CylinderKit.SetUserData ( IntPtr[]  in_indices,
byte  in_data[][] 
)
inline

Sets user data on this kit.

Parameters
in_indicesAn array of user data indices to set.
in_dataAn array of bytes of user data to set.
Returns
A reference to this kit.
HPS.CylinderKit HPS.CylinderKit.SetVertexIndexColorsByList ( ulong[]  in_vertices,
float[]  in_indices,
HPS.Cylinder.Component  in_apply_to 
)
inline

Sets vertex material indices on a selection of arbitrary vertices which apply to the specified cylinder component. If the sizes of the vertex index and material index arrays are different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the colors.
in_indicesThe material indices to set on the vertices.
in_apply_toThe cylinder component the colors should apply to. Defaults to Cylinder::Component::Faces.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexIndexColorsByList ( ulong[]  in_vertices,
float[]  in_indices 
)
inline

Sets vertex material indices on a selection of arbitrary vertices which apply to the specified cylinder component. If the sizes of the vertex index and material index arrays are different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the colors.
in_indicesThe material indices to set on the vertices.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexIndexColorsByList ( ulong[]  in_vertices,
float  in_index,
HPS.Cylinder.Component  in_apply_to 
)
inline

Sets a single material index on a selection of arbitrary vertices which apply to the specified cylinder component.

Parameters
in_verticesThe indices of the vertices on which to set the color.
in_indexThe material index to set on the vertices.
in_apply_toThe cylinder component the colors should apply to. Defaults to Cylinder::Component::Faces.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexIndexColorsByList ( ulong[]  in_vertices,
float  in_index 
)
inline

Sets a single material index on a selection of arbitrary vertices which apply to the specified cylinder component.

Parameters
in_verticesThe indices of the vertices on which to set the color.
in_indexThe material index to set on the vertices.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexIndexColorsByRange ( ulong  in_start,
float[]  in_indices,
HPS.Cylinder.Component  in_apply_to 
)
inline

Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified cylinder component.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start setting colors.
in_indicesThe material indices to set on the vertices for this CylinderKit.
in_apply_toThe cylinder component the colors should apply to. Defaults to Cylinder::Component::Faces.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexIndexColorsByRange ( ulong  in_start,
float[]  in_indices 
)
inline

Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified cylinder component.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start setting colors.
in_indicesThe material indices to set on the vertices for this CylinderKit.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexIndexColorsByRange ( ulong  in_start,
ulong  in_count,
float  in_index,
HPS.Cylinder.Component  in_apply_to 
)
inline

Sets a single material index on a range of vertices starting at the specified offset which apply to the specified cylinder component.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start setting the color.
in_countThe number of vertices on which to set the color.
in_indexThe material index to set on the vertices for this CylinderKit.
in_apply_toThe cylinder component the colors should apply to. Defaults to Cylinder::Component::Faces.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexIndexColorsByRange ( ulong  in_start,
ulong  in_count,
float  in_index 
)
inline

Sets a single material index on a range of vertices starting at the specified offset which apply to the specified cylinder component.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start setting the color.
in_countThe number of vertices on which to set the color.
in_indexThe material index to set on the vertices for this CylinderKit.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexRGBColorsByList ( ulong[]  in_vertices,
HPS.RGBColor[]  in_rgb_colors,
HPS.Cylinder.Component  in_apply_to 
)
inline

Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified cylinder component. If the sizes of the vertex index array and the color array different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the colors.
in_rgb_colorsThe RGB colors to set on the vertices.
in_apply_toThe cylinder component the colors should apply to. Defaults to Cylinder::Component::Faces.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexRGBColorsByList ( ulong[]  in_vertices,
HPS.RGBColor[]  in_rgb_colors 
)
inline

Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified cylinder component. If the sizes of the vertex index array and the color array different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the colors.
in_rgb_colorsThe RGB colors to set on the vertices.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexRGBColorsByList ( ulong[]  in_vertices,
HPS.RGBColor  in_rgb_color,
HPS.Cylinder.Component  in_apply_to 
)
inline

Sets a single RGB color on a selection of arbitrary vertices which apply to the specified cylinder component.

Parameters
in_verticesThe indices of the vertices on which to set the color.
in_rgb_colorThe RGB color to set on the vertices.
in_apply_toThe cylinder component the colors should apply to. Defaults to Cylinder::Component::Faces.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexRGBColorsByList ( ulong[]  in_vertices,
HPS.RGBColor  in_rgb_color 
)
inline

Sets a single RGB color on a selection of arbitrary vertices which apply to the specified cylinder component.

Parameters
in_verticesThe indices of the vertices on which to set the color.
in_rgb_colorThe RGB color to set on the vertices.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexRGBColorsByRange ( ulong  in_start,
HPS.RGBColor[]  in_rgb_colors,
HPS.Cylinder.Component  in_apply_to 
)
inline

Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified cylinder component.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start setting colors.
in_rgb_colorsThe RGB colors to set on the vertices for this CylinderKit.
in_apply_toThe cylinder component the colors should apply to. Defaults to Cylinder::Component::Faces.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexRGBColorsByRange ( ulong  in_start,
HPS.RGBColor[]  in_rgb_colors 
)
inline

Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified cylinder component.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start setting colors.
in_rgb_colorsThe RGB colors to set on the vertices for this CylinderKit.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexRGBColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.RGBColor  in_rgb_color,
HPS.Cylinder.Component  in_apply_to 
)
inline

Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified cylinder component.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start setting the color.
in_countThe number of vertices on which to set the color.
in_rgb_colorThe RGB color to set on the vertices for this CylinderKit.
in_apply_toThe cylinder component the colors should apply to. Defaults to Cylinder::Component::Faces.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.SetVertexRGBColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.RGBColor  in_rgb_color 
)
inline

Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified cylinder component.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start setting the color.
in_countThe number of vertices on which to set the color.
in_rgb_colorThe RGB color to set on the vertices for this CylinderKit.
Returns
A reference to this CylinderKit.
void HPS.CylinderKit.Show ( out HPS.CylinderKit  out_kit)
inline

Copies this CylinderKit into the given CylinderKit.

Parameters
out_kitThe CylinderKit to populate with the contents of this CylinderKit.
bool HPS.CylinderKit.ShowCaps ( out HPS.Cylinder.Capping  out_caps)
inline

Show the capping for this CylinderKit.

Parameters
out_capsThe capping for this CylinderKit.
Returns
true if a capping was set, false otherwise.
bool HPS.CylinderKit.ShowPoints ( out HPS.Point[]  out_points)
inline

Show the points for this CylinderKit.

Parameters
out_pointsThe points for this CylinderKit.
Returns
true if points were set, false otherwise.
bool HPS.CylinderKit.ShowPointsByList ( ulong[]  in_indices,
out HPS.Point[]  out_points 
)
inline

Show a subset of the points for this CylinderKit by list.

Parameters
in_indicesThe list of point indices to show.
out_pointsThe requested points for this CylinderKit.
Returns
true if all requested points were set, false otherwise.
bool HPS.CylinderKit.ShowPointsByRange ( ulong  in_start_index,
ulong  in_count,
out HPS.Point[]  out_points 
)
inline

Show a subset of the points for this CylinderKit by range.

Parameters
in_start_indexThe first point to show.
in_countThe number of points to show.
out_pointsThe requested points for this CylinderKit.
Returns
true if all requested points were set, false otherwise.
bool HPS.CylinderKit.ShowPriority ( out int  out_priority)
inline

Shows the drawing priority.

Parameters
out_priorityThe drawing priority, higher priority items are drawn on top of lower priority items.
Returns
true if the setting is valid, false otherwise.
bool HPS.CylinderKit.ShowRadii ( out float[]  out_radii)
inline

Show the radii for this CylinderKit.

Parameters
out_radiiThe radii for this CylinderKit.
Returns
true if radii were set, false otherwise.
bool HPS.CylinderKit.ShowUserData ( IntPtr  in_index,
out byte[]  out_data 
)
inline

Shows the user data at a given index for this kit.

Parameters
in_indexThe index of the user data to show.
out_dataThe user data at the given index.
Returns
true if there is user data at the given index, false otherwise.
bool HPS.CylinderKit.ShowUserData ( out IntPtr[]  out_indices,
out byte  out_data[][] 
)
inline

Shows all user data for this kit.

Parameters
out_indicesAn array of all user data indices set on this kit.
out_dataAn array of all user data set on this kit.
Returns
true if there is user data on this kit, false otherwise.
ulong HPS.CylinderKit.ShowUserDataCount ( )
inline

Get the number of user data indices set on this kit.

bool HPS.CylinderKit.ShowUserDataIndices ( out IntPtr[]  out_indices)
inline

Shows the indices of all user data set on this kit.

Parameters
out_indicesThe user data indices set on this kit.
Returns
The number of user data indices set on this kit.
bool HPS.CylinderKit.ShowVertexColors ( HPS.Cylinder.Component  in_apply_to,
out HPS.Material.Type[]  out_types,
out HPS.RGBColor[]  out_rgb_colors,
out float[]  out_indices 
)
inline

Shows all the vertex colors of the specified cylinder component.

Parameters
in_apply_toThe cylinder component the colors should apply to.
out_typesThe types of vertex colors for each vertex. If a vertex does not have a vertex color set for the specified cylinder component, the entry in this array will be Material::Type::None.
out_rgb_colorsThe RGB colors for each vertex. out_rgb_colors[i] is only valid if out_types[i] is Material::Type::RGBColor.
out_indicesThe material indices for each vertex. The out_indices[i] is only valid if out_types[i] is Material::Type::MaterialIndex.
Returns
true if any vertex colors were shown, false otherwise.
bool HPS.CylinderKit.ShowVertexColorsByList ( ulong[]  in_vertices,
HPS.Cylinder.Component  in_apply_to,
out HPS.Material.Type[]  out_types,
out HPS.RGBColor[]  out_rgb_colors,
out float[]  out_indices 
)
inline

Shows the vertex colors on a selection of arbitrary vertices which apply to the specified cylinder component. The order of the values in the ouput arrays is the same as the input vertex index array, i.e., the values of out_types[i], out_rgb_colors[i], out_rgba_colors[i], and out_indices[i], correspond to the vertex at index in_vertices[i].

Parameters
in_verticesThe indices of the vertices on which to show the colors.
in_apply_toThe cylinder component the colors should apply to.
out_typesThe types of vertex colors for each vertex at the specified index. If a vertex at a specified index does not have a vertex color set for the specified component, the entry in this array will be Material::Type::None.
out_rgb_colorsThe RGB colors for each vertex at the specified index. out_rgb_colors[i] is only valid if out_types[i] is Material::Type::RGBColor.
out_indicesThe material indices for each vertex at the specified index. The out_indices[i] is only valid if out_types[i] is Material::Type::MaterialIndex.
Returns
true if any specified vertex had a vertex color on the specified component set, false otherwise.
bool HPS.CylinderKit.ShowVertexColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.Cylinder.Component  in_apply_to,
out HPS.Material.Type[]  out_types,
out HPS.RGBColor[]  out_rgb_colors,
out float[]  out_indices 
)
inline

Shows the vertex colors on a range of vertices starting at the specified offset which apply to the specified cylinder component.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start showing colors.
in_countThe number of colors to show.
in_apply_toThe cylinder component the colors should apply to.
out_typesThe types of vertex colors for each vertex in the specified range. If a vertex in the specified range does not have a vertex color set for the specified cylinder component, the entry in this array will be Material::Type::None.
out_rgb_colorsThe RGB colors for each vertex in the specified range. out_rgb_colors[i] is only valid if out_types[i] is Material::Type::RGBColor.
out_indicesThe material indices for each vertex in the specified range. The out_indices[i] is only valid if out_types[i] is Material::Type::MaterialIndex.
Returns
true if any vertex in the specified range had a vertex color on the specified component set, false otherwise.
HPS.CylinderKit HPS.CylinderKit.UnsetAllUserData ( )
inline

Removes all user data from this kit.

Returns
A reference to this kit.
HPS.CylinderKit HPS.CylinderKit.UnsetCaps ( )
inline

Removes the capping for this CylinderKit.

Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.UnsetEverything ( )
inline

Removes all settings from the CylinderKit.

Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.UnsetPoints ( )
inline

Removes the points for this CylinderKit.

Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.UnsetPriority ( )
inline

Removes a drawing priority setting.

Returns
A reference to this object.
HPS.CylinderKit HPS.CylinderKit.UnsetRadii ( )
inline

Removes the radii for this CylinderKit.

Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.UnsetUserData ( IntPtr  in_index)
inline

Removes the user data at the given index from this kit.

Parameters
in_indexThe index of the user data to remove.
Returns
A reference to this kit.
HPS.CylinderKit HPS.CylinderKit.UnsetUserData ( IntPtr[]  in_indices)
inline

Removes the user data at the given indices from this kit.

Parameters
in_indicesThe indices of the user data to remove.
Returns
A reference to this kit.
HPS.CylinderKit HPS.CylinderKit.UnsetVertexColors ( )
inline

Removes all vertex colors (RGB colors or material indices) for all cylinder components.

Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.UnsetVertexColors ( HPS.Cylinder.Component  in_apply_to)
inline

Removes all vertex colors (RGB colors or material indices) for the specified cylinder component.

Parameters
in_apply_toThe cylinder component for which to remove the colors.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.UnsetVertexColorsByList ( ulong[]  in_vertices)
inline

Removes the vertex colors (RGB colors or material indices) for all cylinder components on a selection of arbitrary vertices.

Parameters
in_verticesThe indices of the vertices on which to remove the colors.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.UnsetVertexColorsByList ( ulong[]  in_vertices,
HPS.Cylinder.Component  in_apply_to 
)
inline

Removes the vertex colors (RGB colors or material indices) for the specified cylinder component on a selection of arbitrary vertices.

Parameters
in_verticesThe indices of the vertices on which to remove the colors.
in_apply_toThe cylinder component for which to remove the colors.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.UnsetVertexColorsByRange ( ulong  in_start,
ulong  in_count 
)
inline

Removes the specified range of vertex colors (RGB colors or material indices) for all cylinder components starting at the specified offset.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start removing colors.
in_countThe number of vertex colors to remove for this CylinderKit.
Returns
A reference to this CylinderKit.
HPS.CylinderKit HPS.CylinderKit.UnsetVertexColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.Cylinder.Component  in_apply_to 
)
inline

Removes the specified range of vertex colors (RGB colors or material indices) for the specified cylinder component starting at the specified offset.

Parameters
in_startThe offset into the vertices for this CylinderKit at which to start removing colors.
in_countThe number of vertex colors to remove for this CylinderKit.
in_apply_toThe cylinder component for which to remove the colors.
Returns
A reference to this CylinderKit.

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