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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
coat::scripto::LathePrim Class Reference

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_tltpm_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...
 
LathePrimLatheType (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_tcbpm_ptr () const
 Converts the pointer to base class to a pointer to this class. More...
 
bool useFillet () const
 Gets the use fillet flag. More...
 
LathePrimuseFillet (const bool &b)
 Sets the use fillet flag. More...
 
LathePrimfilletRadius (const float &r)
 Sets the fillet radius. More...
 
float filletRadius () const
 Gets the fillet radius. More...
 
LathePrimfilletRadiusRelation (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 LathePrimResetSize ()
 Reset size. More...
 
virtual LathePrimResetAxis ()
 Reset axis. More...
 
virtual LathePrimPosition (const Vec3 &pos)
 Setter for Position. More...
 
virtual Vec3 Position () const
 Getter for Position. More...
 
LathePrimSize (const Vec3 &pos)
 Setter for Size. More...
 
Vec3 Size () const
 Getter for Size. More...
 
LathePrimSideA (const float &a)
 Setter for Side X. More...
 
float SideA () const
 Getter for Side X. More...
 
LathePrimSideB (const float &b)
 Setter for Side Y. More...
 
float SideB () const
 Getter for Side Y. More...
 
LathePrimSideC (const float &c)
 Setter for Side C. More...
 
float SideC () const
 Getter for Side C. More...
 
LathePrimAxisX (const Vec3 &ax)
 Setter for Axis X. More...
 
Vec3 AxisX () const
 Getter for Axis X. More...
 
LathePrimAxisY (const Vec3 &ay)
 Setter for Axis Y. More...
 
Vec3 AxisY () const
 Getter for Axis Y. More...
 
LathePrimAxisZ (const Vec3 &az)
 Setter for Axis Z. More...
 
Vec3 AxisZ () const
 Getter for Axis Z. More...
 

Detailed Description

Class for working with primitive mesh which represents like lather prim.

lather.jpg
See Also
LathePrim for notes.
Since
5.0.0
+ Inheritance diagram for coat::scripto::LathePrim:

Member Enumeration Documentation

enum coat::scripto::BasePrim::Mode
stronginherited

Operations with meshes.

Member Function Documentation

LathePrim & coat::scripto::IRegularGizmo< LathePrim >::AxisX ( const Vec3 ax)
inlineinherited

Setter for Axis X.

Vec3 coat::scripto::IRegularGizmo< LathePrim >::AxisX ( ) const
inlineinherited

Getter for Axis X.

LathePrim & coat::scripto::IRegularGizmo< LathePrim >::AxisY ( const Vec3 ay)
inlineinherited

Setter for Axis Y.

Vec3 coat::scripto::IRegularGizmo< LathePrim >::AxisY ( ) const
inlineinherited

Getter for Axis Y.

LathePrim & coat::scripto::IRegularGizmo< LathePrim >::AxisZ ( const Vec3 az)
inlineinherited

Setter for Axis Z.

Vec3 coat::scripto::IRegularGizmo< LathePrim >::AxisZ ( ) const
inlineinherited

Getter for Axis Z.

cbpm_t* coat::scripto::ICubPrim< LathePrim >::cbpm_ptr ( ) const
inlineinherited

Converts the pointer to base class to a pointer to this class.

void coat::scripto::LathePrim::cuEditPoints ( )
inline

Edits the points.

References ltpm_ptr().

void coat::scripto::LathePrim::cuLoadCurve ( )
inline

Loads the curve profile.

References ltpm_ptr().

void coat::scripto::LathePrim::cuReset ( )
inline

Reset the curve profile.

References ltpm_ptr().

void coat::scripto::LathePrim::cuSaveCurve ( )
inline

Saves the curve profile.

References ltpm_ptr().

LathePrim & coat::scripto::ICubPrim< LathePrim >::filletRadius ( const float &  r)
inlineinherited

Sets the fillet radius.

float coat::scripto::ICubPrim< LathePrim >::filletRadius ( ) const
inlineinherited

Gets the fillet radius.

LathePrim & coat::scripto::ICubPrim< LathePrim >::filletRadiusRelation ( const float &  r)
inlineinherited

Sets the fillet relative radius.

float coat::scripto::ICubPrim< LathePrim >::filletRadiusRelation ( ) const
inlineinherited

Gets the fillet relative radius.

gpm_t* coat::scripto::IRegularGizmo< LathePrim >::gpm_ptr ( ) const
inlineinherited

Converts the pointer to base class to a pointer to this class.

void coat::scripto::IRegularGizmo< LathePrim >::HideAxisDirection ( ) const
inlineinherited

Hides the axis direction.

LathePrim& coat::scripto::LathePrim::LatheType ( const int &  t)
inline

Sets the lathe type (0-cylinder, 1-cube).

References LatheType(), and ltpm_ptr().

Referenced by LatheType().

int coat::scripto::LathePrim::LatheType ( ) const
inline

Gets the lathe type (0-cylinder, 1-cube).

References LatheType(), and ltpm_ptr().

ltpm_t* coat::scripto::LathePrim::ltpm_ptr ( ) const
inline

Converts the pointer to base class to a pointer to this class.

Referenced by cuEditPoints(), cuLoadCurve(), cuReset(), cuSaveCurve(), LatheType(), and SetPoint().

virtual LathePrim & coat::scripto::IRegularGizmo< LathePrim >::Position ( const Vec3 pos)
inlinevirtualinherited

Setter for Position.

virtual Vec3 coat::scripto::IRegularGizmo< LathePrim >::Position ( ) const
inlinevirtualinherited

Getter for Position.

virtual LathePrim & coat::scripto::IRegularGizmo< LathePrim >::ResetAxis ( )
inlinevirtualinherited

Reset axis.

virtual LathePrim & coat::scripto::IRegularGizmo< LathePrim >::ResetSize ( )
inlinevirtualinherited

Reset size.

int coat::scripto::LathePrim::SetPoint ( int  id,
float  x,
float  y,
int  state 
)
inline

Sets the point on the curve.

Parameters
idindex point
xX-position
yY-position
stateThe state of point (0-bezier, 1 - beta, 2 - sharp, 3 - fixed, 4-fixed x, 5-fixed y)
Returns
Returns the index of the set point

References ltpm_ptr().

void coat::scripto::IRegularGizmo< LathePrim >::ShowAxisDirection ( ) const
inlineinherited

Shows the axis direction.

LathePrim & coat::scripto::IRegularGizmo< LathePrim >::SideA ( const float &  a)
inlineinherited

Setter for Side X.

float coat::scripto::IRegularGizmo< LathePrim >::SideA ( ) const
inlineinherited

Getter for Side X.

LathePrim & coat::scripto::IRegularGizmo< LathePrim >::SideB ( const float &  b)
inlineinherited

Setter for Side Y.

float coat::scripto::IRegularGizmo< LathePrim >::SideB ( ) const
inlineinherited

Getter for Side Y.

LathePrim & coat::scripto::IRegularGizmo< LathePrim >::SideC ( const float &  c)
inlineinherited

Setter for Side C.

float coat::scripto::IRegularGizmo< LathePrim >::SideC ( ) const
inlineinherited

Getter for Side C.

LathePrim & coat::scripto::IRegularGizmo< LathePrim >::Size ( const Vec3 pos)
inlineinherited

Setter for Size.

Vec3 coat::scripto::IRegularGizmo< LathePrim >::Size ( ) const
inlineinherited

Getter for Size.

bool coat::scripto::ICubPrim< LathePrim >::useFillet ( ) const
inlineinherited

Gets the use fillet flag.

LathePrim & coat::scripto::ICubPrim< LathePrim >::useFillet ( const bool &  b)
inlineinherited

Sets the use fillet flag.


The documentation for this class was generated from the following file: