| java.lang.Object | ||
| ↳ | casmi.graphics.element.Element | |
| ↳ | casmi.graphics.element.Cylinder | |
Cylinder class. Wrap JOGL and make it easy to use.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
casmi.graphics.element.Element
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new Cylinder object using radius and height.
| |||||||||||
Creates a new Cylinder object using radius, height, slices and stacks.
| |||||||||||
Creates a new Cylinder object using radius, height and x,y,z-coordinate.
| |||||||||||
Creates a new Cylinder object using radius, height, slices, stacks, and x,y,z-coordinate.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the height of this Cylinder.
| |||||||||||
Gets the radius of this Cylinder.
| |||||||||||
Sets the height of this Cylinder.
| |||||||||||
Sets the radius of this Cylinder.
| |||||||||||
Sets the slices of this Cylinder.
| |||||||||||
Sets the stacks of this Cylinder.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
casmi.graphics.element.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
casmi.graphics.object.Renderable
| |||||||||||
From interface
casmi.graphics.object.Resettable
| |||||||||||
Creates a new Cylinder object using radius and height.
| radius | The radius of the Cylinder. |
|---|---|
| height | The height of the Cylinder. |
Creates a new Cylinder object using radius, height, slices and stacks.
| radius | The radius of the Cylinder. |
|---|---|
| height | The height of the Cylinder. |
| slices | The slices of the Cylinder. |
| stacks | The stacks of the Cylinder. |
Creates a new Cylinder object using radius, height and x,y,z-coordinate.
| radius | The radius of the Cylinder. |
|---|---|
| height | The height of the Cylinder. |
| x | The x-coordinate of the Cylinder. |
| y | The y-coordinate of the Cylinder. |
| z | The z-coordinate of the Cylinder. |
Creates a new Cylinder object using radius, height, slices, stacks, and x,y,z-coordinate.
| radius | The radius of the Cylinder. |
|---|---|
| height | The height of the Cylinder. |
| x | The x-coordinate of the Cylinder. |
| y | The y-coordinate of the Cylinder. |
| z | The z-coordinate of the Cylinder. |
| slices | The slices of the Cylinder. |
| stacks | The stacks of the Cylinder. |
Gets the height of this Cylinder.
Gets the radius of this Cylinder.
Sets the height of this Cylinder.
| height | The height of the Cylinder. |
|---|
Sets the radius of this Cylinder.
| radius | The radius of the Cylinder. |
|---|
Sets the slices of this Cylinder.
| slices | The slices of the Cylinder. |
|---|
Sets the stacks of this Cylinder.
| stacks | The stacks of the Cylinder. |
|---|