3DCoat
3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
|
Class for working with primitive mesh which represents like bolt head. More...
#include <SBoltHeadPrim.h>
Public Types | |
enum | Mode |
Operations with meshes. More... | |
Public Member Functions | |
blthpm_t * | bltpm_t_ptr () const |
Converts the pointer to base class to a pointer to this class. More... | |
virtual void | update () |
Update parameters. More... | |
float | Diameter () const |
Getter the diameter. More... | |
BoltHeadPrim & | Diameter (const float &d) |
Setter the diameter. More... | |
float | Height () const |
Gets the height parameter. More... | |
BoltHeadPrim & | Height (const float &h) |
Sets the height parameter. More... | |
float | param (int i) const |
Gets parameter by index. More... | |
BoltHeadPrim & | param (int i, float val) |
Sets the parameter by index. More... | |
float | Width () const |
Gets the width. More... | |
BoltHeadPrim & | Width (const float &val) |
Sets the width. More... | |
float | Length () const |
Gets the length. More... | |
BoltHeadPrim & | Length (const float &val) |
Sets the length. More... | |
float | HeadHeight () const |
Gets the height of bolt head. More... | |
BoltHeadPrim & | HeadHeight (const float &h) |
Sets the height of bolt head. More... | |
float | HeadDiameter () const |
Gets the diameter of bolt head. More... | |
BoltHeadPrim & | HeadDiameter (const float &h) |
Sets the diameter of bolt head. More... | |
float | HeadDiameterDown () const |
Gets the down diameter of bolt head. More... | |
BoltHeadPrim & | HeadDiameterDown (const float &h) |
Sets the down diameter of bolt head. More... | |
float | HeadDiameterUpper () const |
Gets the upper diameter of bolt head. More... | |
BoltHeadPrim & | HeadDiameterUpper (const float &h) |
Sets the upper diameter of bolt head. More... | |
float | EarThickness () const |
Gets the thickness ear of the lamb bolt head. More... | |
BoltHeadPrim & | EarThickness (const float &e) |
Sets the thickness ear of the lamb bolt head. More... | |
float | Thickness () const |
Gets the thickness. More... | |
BoltHeadPrim & | Thickness (const float &e) |
Sets the thickness. More... | |
float | InnerRadius () const |
Gets the inner radius. More... | |
BoltHeadPrim & | InnerRadius (const float &in) |
Sets the inner radius. More... | |
float | InsideDiameter () const |
Gets the inside diameter. More... | |
BoltHeadPrim & | InsideDiameter (const float &in) |
Sets the inside diameter. More... | |
float | OutsideDiameter () const |
Gets the outside diameter. More... | |
BoltHeadPrim & | OutsideDiameter (const float &in) |
Sets the outside diameter. More... | |
bool | UseSlit () const |
Gets the use slit flag. More... | |
BoltHeadPrim & | UseSlit (const bool &b) |
Sets the use slit flag. More... | |
float | SlitWidth () const |
Gets the width slit. More... | |
BoltHeadPrim & | SlitWidth (const float &w) |
Sets the width slit. More... | |
float | SlitHeight () const |
Gets the height slit. More... | |
BoltHeadPrim & | SlitHeight (const float &h) |
Sets the height slit. More... | |
float | SlitLength () const |
Gets the length slit. More... | |
BoltHeadPrim & | SlitLength (const float &l) |
Sets the length slit. More... | |
SHeadType | HeadType () const |
Gets the head type. More... | |
BoltHeadPrim & | HeadType (const SHeadType &t) |
Sets the head type. More... | |
SSlitType | SlitType () const |
Gets the slit type. More... | |
BoltHeadPrim & | SlitType (const SSlitType &t) |
Sets the slit type. More... | |
fstn_prm_t * | fstn_prm_ptr () const |
Converts the pointer to base class. More... | |
void | UpdateModel () |
Update model on click to place action. More... | |
void | StoreFP (FPRec &fp) |
Store of the scale radius, clickToPlace and positions More... | |
void | RestoreFP (const FPRec &fp) |
Restore of the scale radius, clickToPlace and positions More... | |
virtual BoltHeadPrim & | Position (const Vec3 &c) |
Setter for object position. More... | |
virtual Vec3 | Position () const |
Getter for object position. More... | |
virtual BoltHeadPrim & | Position2 (const Vec3 &c) |
Sets the position2 for object. More... | |
virtual Vec3 | Position2 () const |
Gets the position2 for object. More... | |
virtual BoltHeadPrim & | ScaleRadius (const float &r) |
Sets the scale radius. More... | |
virtual float | ScaleRadius () const |
Gets the scale radius. More... | |
virtual BoltHeadPrim & | ClickToPlace (const float &brushRadius) |
Click to place. More... | |
virtual BoltHeadPrim & | ResetSize () |
Reset the size object. More... | |
virtual BoltHeadPrim & | ResetPosition () |
Reset the position object. More... | |
virtual BoltHeadPrim & | ResetAxis () |
Reset the axies. More... | |
BoltHeadPrim & | AxisX (const Vec3 &ax) |
Setter for Axis X. More... | |
Vec3 | AxisX () const |
Getter for Axis X. More... | |
BoltHeadPrim & | AxisY (const Vec3 &ay) |
Setter for Axis Y. More... | |
Vec3 | AxisY () const |
Getter for Axis Y. More... | |
BoltHeadPrim & | AxisZ (const Vec3 &az) |
Setter for Axis Z. More... | |
Vec3 | AxisZ () const |
Getter for Axis Z. More... | |
Class for working with primitive mesh which represents like bolt head.
|
stronginherited |
Operations with meshes.
|
inlineinherited |
Setter for Axis X.
ax | The axis vector |
|
inlineinherited |
Getter for Axis X.
|
inlineinherited |
Setter for Axis Y.
ay | The axis vector |
|
inlineinherited |
Getter for Axis Y.
|
inlineinherited |
Setter for Axis Z.
az | The axis vector |
|
inlineinherited |
Getter for Axis Z.
|
inline |
Converts the pointer to base class to a pointer to this class.
Referenced by Diameter(), HeadHeight(), HeadType(), Height(), param(), SlitHeight(), SlitLength(), SlitType(), SlitWidth(), update(), and UseSlit().
|
inlinevirtualinherited |
Click to place.
brushRadius | The brush radius for placement |
|
inline |
Getter the diameter.
References bltpm_t_ptr().
Referenced by HeadDiameterDown().
|
inline |
Setter the diameter.
References bltpm_t_ptr(), and update().
|
inline |
Gets the thickness ear of the lamb bolt head.
References param().
|
inline |
Sets the thickness ear of the lamb bolt head.
References param().
|
inlineinherited |
Converts the pointer to base class.
|
inline |
Gets the diameter of bolt head.
References param().
|
inline |
Sets the diameter of bolt head.
References param().
|
inline |
Gets the down diameter of bolt head.
References Diameter().
|
inline |
Sets the down diameter of bolt head.
References Diameter().
|
inline |
Gets the upper diameter of bolt head.
References param().
|
inline |
Sets the upper diameter of bolt head.
References param().
|
inline |
Gets the height of bolt head.
References bltpm_t_ptr().
|
inline |
Sets the height of bolt head.
References bltpm_t_ptr(), and update().
|
inline |
Gets the head type.
References bltpm_t_ptr().
|
inline |
Sets the head type.
References bltpm_t_ptr(), and update().
|
inline |
Gets the height parameter.
References bltpm_t_ptr().
|
inline |
Sets the height parameter.
References bltpm_t_ptr(), and update().
|
inline |
Gets the inner radius.
References param().
|
inline |
Sets the inner radius.
References param().
|
inline |
Gets the inside diameter.
References param().
|
inline |
Sets the inside diameter.
References param().
|
inline |
Gets the length.
References param().
|
inline |
Sets the length.
References param().
|
inline |
Gets the outside diameter.
References param().
|
inline |
Sets the outside diameter.
References param().
|
inline |
Gets parameter by index.
References bltpm_t_ptr().
Referenced by EarThickness(), HeadDiameter(), HeadDiameterUpper(), InnerRadius(), InsideDiameter(), Length(), OutsideDiameter(), Thickness(), and Width().
|
inline |
Sets the parameter by index.
References bltpm_t_ptr(), and update().
|
inlinevirtualinherited |
Setter for object position.
|
inlinevirtualinherited |
Getter for object position.
|
inlinevirtualinherited |
Sets the position2 for object.
|
inlinevirtualinherited |
Gets the position2 for object.
|
inlinevirtualinherited |
Reset the axies.
|
inlinevirtualinherited |
Reset the position object.
|
inlinevirtualinherited |
Reset the size object.
|
inlineinherited |
Restore of the scale radius, clickToPlace and positions
fp | The reference to the record of the fastern product |
|
inlinevirtualinherited |
Sets the scale radius.
|
inlinevirtualinherited |
Gets the scale radius.
|
inline |
Gets the height slit.
References bltpm_t_ptr().
|
inline |
Sets the height slit.
References bltpm_t_ptr(), and update().
|
inline |
Gets the length slit.
References bltpm_t_ptr().
|
inline |
Sets the length slit.
References bltpm_t_ptr(), and update().
|
inline |
Gets the slit type.
References bltpm_t_ptr().
|
inline |
Sets the slit type.
References bltpm_t_ptr(), and update().
|
inline |
Gets the width slit.
References bltpm_t_ptr().
|
inline |
Sets the width slit.
References bltpm_t_ptr(), and update().
|
inlineinherited |
Store of the scale radius, clickToPlace and positions
fp | The reference to the record of the fastern product |
|
inline |
Gets the thickness.
References param().
|
inline |
Sets the thickness.
References param().
|
inlinevirtual |
Update parameters.
Reimplemented from coat::scripto::IFastenerBasePrim< BoltHeadPrim >.
References bltpm_t_ptr().
Referenced by Diameter(), HeadHeight(), HeadType(), Height(), param(), SlitHeight(), SlitLength(), SlitType(), SlitWidth(), and UseSlit().
|
inlineinherited |
Update model on click to place action.
|
inline |
Gets the use slit flag.
References bltpm_t_ptr().
|
inline |
Sets the use slit flag.
References bltpm_t_ptr(), and update().
|
inline |
Gets the width.
References param().
|
inline |
Sets the width.
References param().