Class for working with primitive mesh which represents like capsule prim.
More...
#include <SCylinderPrim.h>
|
| cpm_t * | cpm_ptr () const |
| | Converts the pointer to base class to a pointer to this class. More...
|
| |
| float | height () const |
| | Gets the height. More...
|
| |
| T & | height (const float &h) |
| | Sets the height. More...
|
| |
| float | radius () const |
| | Gets the radius. More...
|
| |
| T & | radius (const float &r) |
| | Sets the radius. More...
|
| |
| bool | useFillet () const |
| | Gets the use fillet flag. More...
|
| |
| T & | useFillet (const bool &b) |
| | Sets the use fillet flag. More...
|
| |
| T & | filletRadius (const float &r) |
| | Sets the fillet radius. More...
|
| |
| float | filletRadius () const |
| | Gets the fillet radius. More...
|
| |
| T & | filletRadiusRelation (const float &r) |
| | Sets the fillet relative radius. More...
|
| |
| float | filletRadiusRelation () const |
| | Gets the fillet relative radius. More...
|
| |
| T & | sectorAngle (const float &a) |
| | Setter for sector angle. More...
|
| |
| float | sectorAngle () const |
| | Getter for sector angle. More...
|
| |
| virtual T & | Position (const Vec3 &c) |
| | Sets the object position. More...
|
| |
| virtual Vec3 | Position () const |
| | Gets the object position. More...
|
| |
| T & | startPoint (const Vec3 &pos) |
| | Setter for startPoint. More...
|
| |
| Vec3 | startPoint () const |
| | Getter for startPoint. More...
|
| |
| T & | endPoint (const Vec3 &pos) |
| | Setter for endPoint. More...
|
| |
| Vec3 | endPoint () const |
| | Getter for endPoint. More...
|
| |
| T & | topRadius (const float &r) |
| | Sets the top radius. More...
|
| |
| float | topRadius () const |
| | Gets the top radius. More...
|
| |
| T & | bottomRadius (const float &r) |
| | Sets the bottom radius. More...
|
| |
| float | bottomRadius () const |
| | Gets the bottom radius. More...
|
| |
| T & | scale (const Vec2 &s) |
| | Sets the scale vector. More...
|
| |
| Vec2 | scale () const |
| | Gets the scale vector. More...
|
| |
| T & | scalex (const float &s) |
| | Sets the scale in x-direction. More...
|
| |
| float | scalex () const |
| | Gets the scale in x-direction. More...
|
| |
| T & | scaley (const float &s) |
| | Sets the scale in y-direction. More...
|
| |
| float | scaley () const |
| | Gets the scale in y-direction. More...
|
| |
| void | MainX () |
| | Align to X axis. More...
|
| |
| void | MainY () |
| | Align to Y axis. More...
|
| |
| void | MainZ () |
| | Align to Z axis. More...
|
| |
| void | ViewSpace () |
| | Align to view space. More...
|
| |
| void | ToCenterMass () |
| | Assign to center mass. More...
|
| |
| void | ResetScales () |
| | Resets tthe scales. More...
|
| |
| virtual T & | ResetPosition () |
| | Resets the position. More...
|
| |
| virtual T & | ResetAxis () |
| | Resets the axis. More...
|
| |
Class for working with primitive mesh which represents like capsule prim.
- See Also
- CapsulePrim for notes.
- Since
- 5.0.0
Inherits coat::scripto::ICylinderPrim< T >.
template<class T>
| T& coat::scripto::ICylinderPrim< T >::bottomRadius |
( |
const float & |
r | ) |
|
|
inlineinherited |
template<class T>
| float coat::scripto::ICylinderPrim< T >::bottomRadius |
( |
| ) |
const |
|
inlineinherited |
template<class T>
| cpm_t* coat::scripto::ICylinderPrim< T >::cpm_ptr |
( |
| ) |
const |
|
inlineinherited |
Converts the pointer to base class to a pointer to this class.
template<class T>
| T& coat::scripto::ICylinderPrim< T >::endPoint |
( |
const Vec3 & |
pos | ) |
|
|
inlineinherited |
template<class T>
| Vec3 coat::scripto::ICylinderPrim< T >::endPoint |
( |
| ) |
const |
|
inlineinherited |
template<class T>
| T& coat::scripto::ICylinderPrim< T >::filletRadius |
( |
const float & |
r | ) |
|
|
inlineinherited |
template<class T>
| float coat::scripto::ICylinderPrim< T >::filletRadius |
( |
| ) |
const |
|
inlineinherited |
template<class T>
| T& coat::scripto::ICylinderPrim< T >::filletRadiusRelation |
( |
const float & |
r | ) |
|
|
inlineinherited |
Sets the fillet relative radius.
template<class T>
| float coat::scripto::ICylinderPrim< T >::filletRadiusRelation |
( |
| ) |
const |
|
inlineinherited |
Gets the fillet relative radius.
template<class T>
| float coat::scripto::ICylinderPrim< T >::height |
( |
| ) |
const |
|
inlineinherited |
template<class T>
| T& coat::scripto::ICylinderPrim< T >::height |
( |
const float & |
h | ) |
|
|
inlineinherited |
template<class T>
| void coat::scripto::ICylinderPrim< T >::MainX |
( |
| ) |
|
|
inlineinherited |
template<class T>
| void coat::scripto::ICylinderPrim< T >::MainY |
( |
| ) |
|
|
inlineinherited |
template<class T>
| void coat::scripto::ICylinderPrim< T >::MainZ |
( |
| ) |
|
|
inlineinherited |
template<class T>
| virtual T& coat::scripto::ICylinderPrim< T >::Position |
( |
const Vec3 & |
c | ) |
|
|
inlinevirtualinherited |
Sets the object position.
template<class T>
| virtual Vec3 coat::scripto::ICylinderPrim< T >::Position |
( |
| ) |
const |
|
inlinevirtualinherited |
Gets the object position.
template<class T>
| float coat::scripto::ICylinderPrim< T >::radius |
( |
| ) |
const |
|
inlineinherited |
template<class T>
| T& coat::scripto::ICylinderPrim< T >::radius |
( |
const float & |
r | ) |
|
|
inlineinherited |
template<class T>
| virtual T& coat::scripto::ICylinderPrim< T >::ResetAxis |
( |
| ) |
|
|
inlinevirtualinherited |
template<class T>
| virtual T& coat::scripto::ICylinderPrim< T >::ResetPosition |
( |
| ) |
|
|
inlinevirtualinherited |
template<class T>
| void coat::scripto::ICylinderPrim< T >::ResetScales |
( |
| ) |
|
|
inlineinherited |
template<class T>
| T& coat::scripto::ICylinderPrim< T >::scale |
( |
const Vec2 & |
s | ) |
|
|
inlineinherited |
template<class T>
| Vec2 coat::scripto::ICylinderPrim< T >::scale |
( |
| ) |
const |
|
inlineinherited |
template<class T>
| T& coat::scripto::ICylinderPrim< T >::scalex |
( |
const float & |
s | ) |
|
|
inlineinherited |
Sets the scale in x-direction.
template<class T>
| float coat::scripto::ICylinderPrim< T >::scalex |
( |
| ) |
const |
|
inlineinherited |
Gets the scale in x-direction.
template<class T>
| T& coat::scripto::ICylinderPrim< T >::scaley |
( |
const float & |
s | ) |
|
|
inlineinherited |
Sets the scale in y-direction.
template<class T>
| float coat::scripto::ICylinderPrim< T >::scaley |
( |
| ) |
const |
|
inlineinherited |
Gets the scale in y-direction.
template<class T>
| T& coat::scripto::ICylinderPrim< T >::sectorAngle |
( |
const float & |
a | ) |
|
|
inlineinherited |
template<class T>
| float coat::scripto::ICylinderPrim< T >::sectorAngle |
( |
| ) |
const |
|
inlineinherited |
template<class T>
| T& coat::scripto::ICylinderPrim< T >::startPoint |
( |
const Vec3 & |
pos | ) |
|
|
inlineinherited |
template<class T>
| Vec3 coat::scripto::ICylinderPrim< T >::startPoint |
( |
| ) |
const |
|
inlineinherited |
template<class T>
| void coat::scripto::ICylinderPrim< T >::ToCenterMass |
( |
| ) |
|
|
inlineinherited |
template<class T>
| T& coat::scripto::ICylinderPrim< T >::topRadius |
( |
const float & |
r | ) |
|
|
inlineinherited |
template<class T>
| float coat::scripto::ICylinderPrim< T >::topRadius |
( |
| ) |
const |
|
inlineinherited |
template<class T>
| bool coat::scripto::ICylinderPrim< T >::useFillet |
( |
| ) |
const |
|
inlineinherited |
Gets the use fillet flag.
template<class T>
| T& coat::scripto::ICylinderPrim< T >::useFillet |
( |
const bool & |
b | ) |
|
|
inlineinherited |
Sets the use fillet flag.
template<class T>
| void coat::scripto::ICylinderPrim< T >::ViewSpace |
( |
| ) |
|
|
inlineinherited |
The documentation for this class was generated from the following file:
- 3d-coat/3D-CoatV4/3D-Coat/Scripto/SCylinderPrim.h