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 freeform prim. More...
#include <SFreeFormPrim.h>
Public Types | |
enum | Mode |
Operations with meshes. More... | |
Public Member Functions | |
ffp_t * | ffp_ptr () const |
Converts the pointer to base class to a pointer to this class. More... | |
float | Radius () const |
Gets/Sets the radius. More... | |
FreeFormPrim & | Position (const Vec3 &c) |
Setter for position. More... | |
Vec3 | Position () const |
Getter for position. More... | |
void | ResetPrim () |
Resets the primitive. More... | |
void | Scale () |
Scale. More... | |
void | ScaleX () |
Scale X-axis. More... | |
void | ScaleY () |
Scale Y-axis. More... | |
void | ScaleZ () |
Scale Z-axis. More... | |
void | EditPoints () |
Edit points. More... | |
void | ResetPoints () |
Reset points. More... | |
FreeFormPrim & | SideA (const float &a) |
Setter for Side X. More... | |
float | SideA () const |
Getter for Side X. More... | |
FreeFormPrim & | SideB (const float &b) |
Setter for Side Y. More... | |
float | SideB () const |
Getter for Side Y. More... | |
FreeFormPrim & | SideC (const float &c) |
Setter for Side Z. More... | |
float | SideC () const |
Getter for Side Z. More... | |
bool | SymmetryX () const |
Gets the available of symmetry at X-axis. More... | |
bool | SymmetryY () const |
Gets the available of symmetry at Y-axis. More... | |
bool | SymmetryZ () const |
Gets the available of symmetry at Z-axis. More... | |
FreeFormPrim & | SymmetryX (const bool &b) |
Sets the available of symmetry at X-axis. More... | |
FreeFormPrim & | SymmetryY (const bool &b) |
Sets the available of symmetry at Y-axis. More... | |
FreeFormPrim & | SymmetryZ (const bool &b) |
Sets the available of symmetry at Z-axis. More... | |
FreeFormPrim & | AxisX (const Vec3 &ax) |
Setter for Axis X. More... | |
Vec3 | AxisX () const |
Getter for Axis X. More... | |
FreeFormPrim & | AxisY (const Vec3 &ay) |
Setter for Axis Y. More... | |
Vec3 | AxisY () const |
Getter for Axis Y. More... | |
FreeFormPrim & | AxisZ (const Vec3 &az) |
Setter for Axis Z. More... | |
Vec3 | AxisZ () const |
Getter for Axis Z. More... | |
bool | Transform () const |
Gets/Sets transform mode flag. More... | |
float | InnerRadius () const |
Gets/Sets the inner radius. More... | |
float | OuterRadius () const |
Gets/Sets the outer radius. More... | |
float | Thickness () const |
Gets/Sets the thickness. More... | |
int | SubPrim () const |
Gets/Sets the index of the sub primitive. More... | |
FreeFormPrim & | IsSurf (const bool &surf) |
Sets/Gets the exist of surface. More... | |
FreeFormPrim & | MoveOnlyGizmo (const bool &onlyGizmo) |
Sets/Gets the "Move only gizmo" mode. More... | |
FreeFormPrim & | LocalSpace (const bool &locSpace) |
Sets/Gets the "Local Space" mode. More... | |
FreeFormPrim & | Name (const std::string &name) |
Sets/Gets the freeform primitive name. More... | |
FreeFormPrim & | SubName (const std::string &name) |
Sets/Gets the subname of the freeform primitive. More... | |
FreeFormPrim & | MeshName (const std::string &name) |
Sets/Gets the Mesh name. More... | |
int | SetPoint (int id, float x, float y, float z) |
Sets the point the primitive. More... | |
Class for working with primitive mesh which represents like freeform prim.
|
stronginherited |
Operations with meshes.
|
inline |
|
inline |
Getter for Axis X.
References AxisX(), ffp_ptr(), coat::scripto::Vec3::x(), coat::scripto::Vec3::y(), and coat::scripto::Vec3::z().
|
inline |
|
inline |
Getter for Axis Y.
References AxisY(), ffp_ptr(), coat::scripto::Vec3::x(), coat::scripto::Vec3::y(), and coat::scripto::Vec3::z().
|
inline |
|
inline |
Getter for Axis Z.
References AxisZ(), ffp_ptr(), coat::scripto::Vec3::x(), coat::scripto::Vec3::y(), and coat::scripto::Vec3::z().
void FreeFormPrim::EditPoints | ( | ) |
|
inline |
Converts the pointer to base class to a pointer to this class.
Referenced by AxisX(), AxisY(), AxisZ(), EditPoints(), InnerRadius(), IsSurf(), LocalSpace(), MeshName(), MoveOnlyGizmo(), Name(), OuterRadius(), Position(), Radius(), ResetPoints(), ResetPrim(), Scale(), ScaleX(), ScaleY(), ScaleZ(), SetPoint(), SideA(), SideB(), SideC(), SubName(), SubPrim(), SymmetryX(), SymmetryY(), SymmetryZ(), Thickness(), and Transform().
|
inline |
|
inline |
|
inline |
Sets/Gets the "Local Space" mode.
References ffp_ptr(), and LocalSpace().
Referenced by LocalSpace().
|
inline |
|
inline |
Sets/Gets the "Move only gizmo" mode.
References ffp_ptr(), and MoveOnlyGizmo().
Referenced by MoveOnlyGizmo().
|
inline |
|
inline |
FreeFormPrim & FreeFormPrim::Position | ( | const Vec3 & | c | ) |
Setter for position.
References ffp_ptr().
|
inline |
void FreeFormPrim::ResetPoints | ( | ) |
void FreeFormPrim::ResetPrim | ( | ) |
void FreeFormPrim::ScaleX | ( | ) |
void FreeFormPrim::ScaleY | ( | ) |
void FreeFormPrim::ScaleZ | ( | ) |
|
inline |
Sets the point the primitive.
id | index point |
x | X-position |
y | Y-position |
z | Z-position |
References ffp_ptr().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets/Gets the subname of the freeform primitive.
References ffp_ptr().
|
inline |
|
inline |
Gets the available of symmetry at X-axis.
References ffp_ptr().
FreeFormPrim & FreeFormPrim::SymmetryX | ( | const bool & | b | ) |
Sets the available of symmetry at X-axis.
References ffp_ptr().
|
inline |
Gets the available of symmetry at Y-axis.
References ffp_ptr().
FreeFormPrim & FreeFormPrim::SymmetryY | ( | const bool & | b | ) |
Sets the available of symmetry at Y-axis.
References ffp_ptr().
|
inline |
Gets the available of symmetry at Z-axis.
References ffp_ptr().
FreeFormPrim & FreeFormPrim::SymmetryZ | ( | const bool & | b | ) |
Sets the available of symmetry at Z-axis.
References ffp_ptr().
|
inline |
|
inline |
Gets/Sets transform mode flag.
References ffp_ptr().