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 lather prim. More...
#include <SCubPrim.h>
Public Types | |
enum | Mode |
Operations with meshes. More... | |
Public Member Functions | |
ltpm_t * | ltpm_ptr () const |
Converts the pointer to base class to a pointer to this class. More... | |
void | cuEditPoints () |
Edits the points. More... | |
void | cuSaveCurve () |
Saves the curve profile. More... | |
void | cuLoadCurve () |
Loads the curve profile. More... | |
void | cuReset () |
Reset the curve profile. More... | |
int | SetPoint (int id, float x, float y, int state) |
Sets the point on the curve. More... | |
LathePrim & | LatheType (const int &t) |
Sets the lathe type (0-cylinder, 1-cube). More... | |
int | LatheType () const |
Gets the lathe type (0-cylinder, 1-cube). More... | |
cbpm_t * | cbpm_ptr () const |
Converts the pointer to base class to a pointer to this class. More... | |
bool | useFillet () const |
Gets the use fillet flag. More... | |
LathePrim & | useFillet (const bool &b) |
Sets the use fillet flag. More... | |
LathePrim & | filletRadius (const float &r) |
Sets the fillet radius. More... | |
float | filletRadius () const |
Gets the fillet radius. More... | |
LathePrim & | filletRadiusRelation (const float &r) |
Sets the fillet relative radius. More... | |
float | filletRadiusRelation () const |
Gets the fillet relative radius. More... | |
gpm_t * | gpm_ptr () const |
Converts the pointer to base class to a pointer to this class. More... | |
void | ShowAxisDirection () const |
Shows the axis direction. More... | |
void | HideAxisDirection () const |
Hides the axis direction. More... | |
virtual LathePrim & | ResetSize () |
Reset size. More... | |
virtual LathePrim & | ResetAxis () |
Reset axis. More... | |
virtual LathePrim & | Position (const Vec3 &pos) |
Setter for Position. More... | |
virtual Vec3 | Position () const |
Getter for Position. More... | |
LathePrim & | Size (const Vec3 &pos) |
Setter for Size. More... | |
Vec3 | Size () const |
Getter for Size. More... | |
LathePrim & | SideA (const float &a) |
Setter for Side X. More... | |
float | SideA () const |
Getter for Side X. More... | |
LathePrim & | SideB (const float &b) |
Setter for Side Y. More... | |
float | SideB () const |
Getter for Side Y. More... | |
LathePrim & | SideC (const float &c) |
Setter for Side C. More... | |
float | SideC () const |
Getter for Side C. More... | |
LathePrim & | AxisX (const Vec3 &ax) |
Setter for Axis X. More... | |
Vec3 | AxisX () const |
Getter for Axis X. More... | |
LathePrim & | AxisY (const Vec3 &ay) |
Setter for Axis Y. More... | |
Vec3 | AxisY () const |
Getter for Axis Y. More... | |
LathePrim & | 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 lather prim.
|
stronginherited |
Operations with meshes.
|
inlineinherited |
Setter for Axis X.
|
inlineinherited |
Getter for Axis X.
|
inlineinherited |
Setter for Axis Y.
|
inlineinherited |
Getter for Axis Y.
|
inlineinherited |
Setter for Axis Z.
|
inlineinherited |
Getter for Axis Z.
|
inlineinherited |
Converts the pointer to base class to a pointer to this class.
|
inline |
Edits the points.
References ltpm_ptr().
|
inline |
Loads the curve profile.
References ltpm_ptr().
|
inline |
Reset the curve profile.
References ltpm_ptr().
|
inline |
Saves the curve profile.
References ltpm_ptr().
|
inlineinherited |
Sets the fillet radius.
|
inlineinherited |
Gets the fillet radius.
|
inlineinherited |
Sets the fillet relative radius.
|
inlineinherited |
Gets the fillet relative radius.
|
inlineinherited |
Converts the pointer to base class to a pointer to this class.
|
inlineinherited |
Hides the axis direction.
|
inline |
Sets the lathe type (0-cylinder, 1-cube).
References LatheType(), and ltpm_ptr().
Referenced by LatheType().
|
inline |
Gets the lathe type (0-cylinder, 1-cube).
References LatheType(), and ltpm_ptr().
|
inline |
Converts the pointer to base class to a pointer to this class.
Referenced by cuEditPoints(), cuLoadCurve(), cuReset(), cuSaveCurve(), LatheType(), and SetPoint().
|
inlinevirtualinherited |
Setter for Position.
|
inlinevirtualinherited |
Getter for Position.
|
inlinevirtualinherited |
Reset axis.
|
inlinevirtualinherited |
Reset size.
|
inline |
Sets the point on the curve.
id | index point |
x | X-position |
y | Y-position |
state | The state of point (0-bezier, 1 - beta, 2 - sharp, 3 - fixed, 4-fixed x, 5-fixed y) |
References ltpm_ptr().
|
inlineinherited |
Shows the axis direction.
|
inlineinherited |
Setter for Side X.
|
inlineinherited |
Getter for Side X.
|
inlineinherited |
Setter for Side Y.
|
inlineinherited |
Getter for Side Y.
|
inlineinherited |
Setter for Side C.
|
inlineinherited |
Getter for Side C.
|
inlineinherited |
Setter for Size.
|
inlineinherited |
Getter for Size.
|
inlineinherited |
Gets the use fillet flag.
|
inlineinherited |
Sets the use fillet flag.