![]() |
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 corethread prim. More...
#include <SCoreThreadPrim.h>
Public Types | |
| enum | Mode |
| Operations with meshes. More... | |
Public Member Functions | |
| CoreThreadPrim () | |
| Constructor for creating of core thread primitive. More... | |
| cthpm_t * | cthpm_t_ptr () const |
| Converts the pointer to base class to a pointer to this class. More... | |
| float | Length () const |
| Gets the length of core thread primitive. More... | |
| CoreThreadPrim & | Length (const float &L) |
| Sets the length of core thread primitive. More... | |
| virtual float | Diameter () const |
| Gets the diameter of core thread. More... | |
| virtual CoreThreadPrim & | Diameter (const float &D) |
| Sets the diameter of core thread. More... | |
| float | BottomDiameter () const |
| Gets the bottom diameter of core thread. More... | |
| CoreThreadPrim & | BottomDiameter (const float &D) |
| Sets the bottom diameter of core thread. More... | |
| float | ThreadLength () const |
| Gets the length of core thread. More... | |
| CoreThreadPrim & | ThreadLength (const float &L) |
| Sets the length of core thread. More... | |
| bool | UseThread () const |
| Gets the use thread flag. More... | |
| CoreThreadPrim & | UseThread (const bool &b) |
| Sets the use thread flag. More... | |
| virtual ProfileType | Profile () const |
| Gets the type of profile for thread. More... | |
| virtual CoreThreadPrim & | Profile (const ProfileType &prof) |
| Sets the type of profile for thread. More... | |
| virtual float | Pitch () const |
| Gets the pitch value for thread. More... | |
| virtual CoreThreadPrim & | Pitch (const float &pitch) |
| Sets the pitch value for thread. More... | |
| virtual float | Height () const |
| Gets the height of core thread. More... | |
| virtual CoreThreadPrim & | Height (const float &h) |
| Sets the height of core thread. More... | |
| bool | UseCone () const |
| Gets the use cone flag. More... | |
| CoreThreadPrim & | UseCone (const bool &b) |
| Sets the use cone flag. More... | |
| fstn_prm_t * | fstn_prm_ptr () const |
| Converts the pointer to base class. More... | |
| virtual void | update () |
| Update parameters. 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 CoreThreadPrim & | Position (const Vec3 &c) |
| Setter for object position. More... | |
| virtual Vec3 | Position () const |
| Getter for object position. More... | |
| virtual CoreThreadPrim & | Position2 (const Vec3 &c) |
| Sets the position2 for object. More... | |
| virtual Vec3 | Position2 () const |
| Gets the position2 for object. More... | |
| virtual CoreThreadPrim & | ScaleRadius (const float &r) |
| Sets the scale radius. More... | |
| virtual float | ScaleRadius () const |
| Gets the scale radius. More... | |
| virtual CoreThreadPrim & | ClickToPlace (const float &brushRadius) |
| Click to place. More... | |
| virtual CoreThreadPrim & | ResetSize () |
| Reset the size object. More... | |
| virtual CoreThreadPrim & | ResetPosition () |
| Reset the position object. More... | |
| virtual CoreThreadPrim & | ResetAxis () |
| Reset the axies. More... | |
| CoreThreadPrim & | AxisX (const Vec3 &ax) |
| Setter for Axis X. More... | |
| Vec3 | AxisX () const |
| Getter for Axis X. More... | |
| CoreThreadPrim & | AxisY (const Vec3 &ay) |
| Setter for Axis Y. More... | |
| Vec3 | AxisY () const |
| Getter for Axis Y. More... | |
| CoreThreadPrim & | 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 corethread prim.
Inheritance diagram for coat::scripto::CoreThreadPrim:
|
stronginherited |
Operations with meshes.
|
inline |
Constructor for creating of core thread primitive.
|
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 |
Gets the bottom diameter of core thread.
References cthpm_t_ptr().
|
inline |
Sets the bottom diameter of core thread.
References cthpm_t_ptr().
|
inlinevirtualinherited |
Click to place.
| brushRadius | The brush radius for placement |
|
inline |
Converts the pointer to base class to a pointer to this class.
Referenced by BottomDiameter(), Diameter(), Height(), Length(), Pitch(), Profile(), ThreadLength(), UseCone(), and UseThread().
|
inlinevirtual |
Gets the diameter of core thread.
References cthpm_t_ptr().
|
inlinevirtual |
Sets the diameter of core thread.
References cthpm_t_ptr().
|
inlineinherited |
Converts the pointer to base class.
|
inlinevirtual |
Gets the height of core thread.
References cthpm_t_ptr().
|
inlinevirtual |
Sets the height of core thread.
References cthpm_t_ptr().
|
inline |
|
inline |
Sets the length of core thread primitive.
References cthpm_t_ptr().
|
inlinevirtual |
Gets the pitch value for thread.
References cthpm_t_ptr().
|
inlinevirtual |
Sets the pitch value for thread.
References cthpm_t_ptr().
|
inlinevirtualinherited |
Setter for object position.
|
inlinevirtualinherited |
Getter for object position.
|
inlinevirtualinherited |
Sets the position2 for object.
|
inlinevirtualinherited |
Gets the position2 for object.
|
inlinevirtual |
Gets the type of profile for thread.
References cthpm_t_ptr().
|
inlinevirtual |
Sets the type of profile for thread.
References cthpm_t_ptr().
|
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.
|
inlineinherited |
Store of the scale radius, clickToPlace and positions
| fp | The reference to the record of the fastern product |
|
inline |
Gets the length of core thread.
References cthpm_t_ptr().
|
inline |
Sets the length of core thread.
References cthpm_t_ptr().
|
inlinevirtualinherited |
Update parameters.
Reimplemented from coat::scripto::BaseObj< CoreThreadPrim >.
|
inlineinherited |
Update model on click to place action.
|
inline |
Gets the use cone flag.
References cthpm_t_ptr().
|
inline |
Sets the use cone flag.
References cthpm_t_ptr().
|
inline |
Gets the use thread flag.
References cthpm_t_ptr().
|
inline |
Sets the use thread flag.
References cthpm_t_ptr().