3rd Eye Scene C#
3rd Eye Scene C# documentation
Tes::Shapes::Cylinder Class Reference

Defines cylinder shape for remote rendering. More...

Inheritance diagram for Tes::Shapes::Cylinder:
Tes::Shapes::Shape

List of all members.

Public Member Functions

 Cylinder (uint id, Vector3 origin, Vector3 up, float length, float radius)
 Create a new cylinder.
 Cylinder (uint id, Vector3 startPoint, Vector3 endPoint, float radius)
 Create a new cylinder.
 Cylinder (uint id=0u, ushort category=0)
 Create a new cylinder.
 Cylinder (uint id, ushort category, Vector3 origin, Vector3 up, float length, float radius)
 Create a new cylinder.
 Cylinder (uint id, ushort category, Vector3 startPoint, Vector3 endPoint, float radius)
 Create a new cylinder.
override object Clone ()
 Clone this shape.

Public Attributes

const float DefaultLength = 1.0f
 Default length when not otherwise specified.
const float DefaultRadius = 0.5f
 Default radius when not otherwise specified.

Static Public Attributes

static Vector3 DefaultUp = Vector3.AxisZ
 The default major axis when rendering with an identity quaternion rotation.

Properties

float Radius [get, set]
 Access the cylinder radius.
float Length [get, set]
 Access the cylinder length.
Vector3 Centre [get, set]
 Access the cylinder centre.
Vector3 Up [get, set]
 Access the cylinder major axis.

Detailed Description

Defines cylinder shape for remote rendering.


Constructor & Destructor Documentation

Tes::Shapes::Cylinder::Cylinder ( uint  id,
Vector3  origin,
Vector3  up,
float  length,
float  radius 
) [inline]

Create a new cylinder.

Parameters:
idThe shape ID. Zero for transient shapes.
originThe centre of the shape.
upThe major axis.
lengthThe length of the shape.
radiusThe shape radius.
Tes::Shapes::Cylinder::Cylinder ( uint  id,
Vector3  startPoint,
Vector3  endPoint,
float  radius 
) [inline]

Create a new cylinder.

Parameters:
idThe shape ID. Zero for transient shapes.
startPointThe first point of the primary axis.
endPointThe second point of the primary axis.
radiusThe shape radius.
Tes::Shapes::Cylinder::Cylinder ( uint  id = 0u,
ushort  category = 0 
) [inline]

Create a new cylinder.

Parameters:
idThe shape ID. Zero for transient shapes.
categoryCategory to which the shape belongs.
Tes::Shapes::Cylinder::Cylinder ( uint  id,
ushort  category,
Vector3  origin,
Vector3  up,
float  length,
float  radius 
) [inline]

Create a new cylinder.

Parameters:
idThe shape ID. Zero for transient shapes.
categoryCategory to which the shape belongs.
originThe centre of the shape.
upThe major axis.
lengthThe length of the shape.
radiusThe shape radius.
Tes::Shapes::Cylinder::Cylinder ( uint  id,
ushort  category,
Vector3  startPoint,
Vector3  endPoint,
float  radius 
) [inline]

Create a new cylinder.

Parameters:
idThe shape ID. Zero for transient shapes.
categoryCategory to which the shape belongs.
startPointThe first point of the primary axis.
endPointThe second point of the primary axis.
radiusThe shape radius.

Member Function Documentation

override object Tes::Shapes::Cylinder::Clone ( ) [inline, virtual]

Clone this shape.

Returns:
A deep copy of this object.

Reimplemented from Tes::Shapes::Shape.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events