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::NutPrim Class Reference

Class for working with retopo primitive mesh which represents like nut prim. More...

#include <SNutPrim.h>

Public Types

enum  Mode
 Operations with meshes. More...
 

Public Member Functions

virtual void update ()
 Update parameters. 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 NutPrimPosition (const Vec3 &c)
 Setter for object position. More...
 
virtual Vec3 Position () const
 Getter for object position. More...
 
virtual NutPrimPosition2 (const Vec3 &c)
 Sets the position2 for object. More...
 
virtual Vec3 Position2 () const
 Gets the position2 for object. More...
 
virtual NutPrimScaleRadius (const float &r)
 Sets the scale radius. More...
 
virtual float ScaleRadius () const
 Gets the scale radius. More...
 
virtual NutPrimClickToPlace (const float &brushRadius)
 Click to place. More...
 
virtual NutPrimResetSize ()
 Reset the size object. More...
 
virtual NutPrimResetPosition ()
 Reset the position object. More...
 
virtual NutPrimResetAxis ()
 Reset the axies. More...
 
NutPrimAxisX (const Vec3 &ax)
 Setter for Axis X. More...
 
Vec3 AxisX () const
 Getter for Axis X. More...
 
NutPrimAxisY (const Vec3 &ay)
 Setter for Axis Y. More...
 
Vec3 AxisY () const
 Getter for Axis Y. More...
 
NutPrimAxisZ (const Vec3 &az)
 Setter for Axis Z. More...
 
Vec3 AxisZ () const
 Getter for Axis Z. More...
 

Detailed Description

Class for working with retopo primitive mesh which represents like nut prim.

nut.jpg
See Also
NutPrim for notes.
Since
5.0.0
+ Inheritance diagram for coat::scripto::NutPrim:

Member Enumeration Documentation

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

Operations with meshes.

Member Function Documentation

NutPrim & coat::scripto::IFastenerBasePrim< NutPrim >::AxisX ( const Vec3 ax)
inlineinherited

Setter for Axis X.

Parameters
axThe axis vector
Vec3 coat::scripto::IFastenerBasePrim< NutPrim >::AxisX ( ) const
inlineinherited

Getter for Axis X.

NutPrim & coat::scripto::IFastenerBasePrim< NutPrim >::AxisY ( const Vec3 ay)
inlineinherited

Setter for Axis Y.

Parameters
ayThe axis vector
Vec3 coat::scripto::IFastenerBasePrim< NutPrim >::AxisY ( ) const
inlineinherited

Getter for Axis Y.

NutPrim & coat::scripto::IFastenerBasePrim< NutPrim >::AxisZ ( const Vec3 az)
inlineinherited

Setter for Axis Z.

Parameters
azThe axis vector
Vec3 coat::scripto::IFastenerBasePrim< NutPrim >::AxisZ ( ) const
inlineinherited

Getter for Axis Z.

virtual NutPrim & coat::scripto::IFastenerBasePrim< NutPrim >::ClickToPlace ( const float &  brushRadius)
inlinevirtualinherited

Click to place.

Parameters
brushRadiusThe brush radius for placement
fstn_prm_t* coat::scripto::IFastenerBasePrim< NutPrim >::fstn_prm_ptr ( ) const
inlineinherited

Converts the pointer to base class.

virtual NutPrim & coat::scripto::IFastenerBasePrim< NutPrim >::Position ( const Vec3 c)
inlinevirtualinherited

Setter for object position.

virtual Vec3 coat::scripto::IFastenerBasePrim< NutPrim >::Position ( ) const
inlinevirtualinherited

Getter for object position.

virtual NutPrim & coat::scripto::IFastenerBasePrim< NutPrim >::Position2 ( const Vec3 c)
inlinevirtualinherited

Sets the position2 for object.

virtual Vec3 coat::scripto::IFastenerBasePrim< NutPrim >::Position2 ( ) const
inlinevirtualinherited

Gets the position2 for object.

virtual NutPrim & coat::scripto::IFastenerBasePrim< NutPrim >::ResetAxis ( )
inlinevirtualinherited

Reset the axies.

virtual NutPrim & coat::scripto::IFastenerBasePrim< NutPrim >::ResetPosition ( )
inlinevirtualinherited

Reset the position object.

virtual NutPrim & coat::scripto::IFastenerBasePrim< NutPrim >::ResetSize ( )
inlinevirtualinherited

Reset the size object.

void coat::scripto::IFastenerBasePrim< NutPrim >::RestoreFP ( const FPRec &  fp)
inlineinherited

Restore of the scale radius, clickToPlace and positions

Parameters
fpThe reference to the record of the fastern product
virtual NutPrim & coat::scripto::IFastenerBasePrim< NutPrim >::ScaleRadius ( const float &  r)
inlinevirtualinherited

Sets the scale radius.

virtual float coat::scripto::IFastenerBasePrim< NutPrim >::ScaleRadius ( ) const
inlinevirtualinherited

Gets the scale radius.

void coat::scripto::IFastenerBasePrim< NutPrim >::StoreFP ( FPRec &  fp)
inlineinherited

Store of the scale radius, clickToPlace and positions

Parameters
fpThe reference to the record of the fastern product
virtual void coat::scripto::NutPrim::update ( )
inlinevirtual

Update parameters.

Reimplemented from coat::scripto::IFastenerBasePrim< NutPrim >.

void coat::scripto::IFastenerBasePrim< NutPrim >::UpdateModel ( )
inlineinherited

Update model on click to place action.


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