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

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

#include <SThreadPrim.h>

Public Types

enum  Mode
 Operations with meshes. More...
 

Public Member Functions

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 T & Position (const Vec3 &c)
 Setter for object position. More...
 
virtual Vec3 Position () const
 Getter for object position. More...
 
virtual T & Position2 (const Vec3 &c)
 Sets the position2 for object. More...
 
virtual Vec3 Position2 () const
 Gets the position2 for object. More...
 
virtual T & ScaleRadius (const float &r)
 Sets the scale radius. More...
 
virtual float ScaleRadius () const
 Gets the scale radius. More...
 
virtual T & ClickToPlace (const float &brushRadius)
 Click to place. More...
 
virtual T & ResetSize ()
 Reset the size object. More...
 
virtual T & ResetPosition ()
 Reset the position object. More...
 
virtual T & ResetAxis ()
 Reset the axies. More...
 
T & AxisX (const Vec3 &ax)
 Setter for Axis X. More...
 
Vec3 AxisX () const
 Getter for Axis X. More...
 
T & AxisY (const Vec3 &ay)
 Setter for Axis Y. More...
 
Vec3 AxisY () const
 Getter for Axis Y. More...
 
T & AxisZ (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 thread prim.

thread.jpg
See Also
ThreadPrim for notes.
Since
5.0.0

Inherits coat::scripto::IThreadPrim< T >.

Member Enumeration Documentation

template<class T>
enum coat::scripto::BasePrim::Mode
stronginherited

Operations with meshes.

Member Function Documentation

template<class T>
T& coat::scripto::IFastenerBasePrim< T >::AxisX ( const Vec3 ax)
inlineinherited

Setter for Axis X.

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

Getter for Axis X.

template<class T>
T& coat::scripto::IFastenerBasePrim< T >::AxisY ( const Vec3 ay)
inlineinherited

Setter for Axis Y.

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

Getter for Axis Y.

template<class T>
T& coat::scripto::IFastenerBasePrim< T >::AxisZ ( const Vec3 az)
inlineinherited

Setter for Axis Z.

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

Getter for Axis Z.

template<class T>
virtual T& coat::scripto::IFastenerBasePrim< T >::ClickToPlace ( const float &  brushRadius)
inlinevirtualinherited

Click to place.

Parameters
brushRadiusThe brush radius for placement
template<class T>
virtual T& coat::scripto::IFastenerBasePrim< T >::Position ( const Vec3 c)
inlinevirtualinherited

Setter for object position.

template<class T>
virtual Vec3 coat::scripto::IFastenerBasePrim< T >::Position ( ) const
inlinevirtualinherited

Getter for object position.

template<class T>
virtual T& coat::scripto::IFastenerBasePrim< T >::Position2 ( const Vec3 c)
inlinevirtualinherited

Sets the position2 for object.

template<class T>
virtual Vec3 coat::scripto::IFastenerBasePrim< T >::Position2 ( ) const
inlinevirtualinherited

Gets the position2 for object.

template<class T>
virtual T& coat::scripto::IFastenerBasePrim< T >::ResetAxis ( )
inlinevirtualinherited

Reset the axies.

template<class T>
virtual T& coat::scripto::IFastenerBasePrim< T >::ResetPosition ( )
inlinevirtualinherited

Reset the position object.

template<class T>
virtual T& coat::scripto::IFastenerBasePrim< T >::ResetSize ( )
inlinevirtualinherited

Reset the size object.

template<class T>
void coat::scripto::IFastenerBasePrim< T >::RestoreFP ( const FPRec &  fp)
inlineinherited

Restore of the scale radius, clickToPlace and positions

Parameters
fpThe reference to the record of the fastern product

Referenced by coat::scripto::IFastenerBasePrim< BoltPrim >::UpdateModel().

template<class T>
virtual T& coat::scripto::IFastenerBasePrim< T >::ScaleRadius ( const float &  r)
inlinevirtualinherited

Sets the scale radius.

template<class T>
virtual float coat::scripto::IFastenerBasePrim< T >::ScaleRadius ( ) const
inlinevirtualinherited
template<class T>
void coat::scripto::IFastenerBasePrim< T >::StoreFP ( FPRec &  fp)
inlineinherited

Store of the scale radius, clickToPlace and positions

Parameters
fpThe reference to the record of the fastern product

Referenced by coat::scripto::IFastenerBasePrim< BoltPrim >::UpdateModel().

template<class T>
void coat::scripto::IFastenerBasePrim< T >::UpdateModel ( )
inlineinherited

Update model on click to place action.


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