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::IFastenerBasePrim< T > Class Template Reference

Basic class for fastener base primitives More...

#include <SBasePrim.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

template<class T>
class coat::scripto::IFastenerBasePrim< T >

Basic class for fastener base primitives

+ Inheritance diagram for coat::scripto::IFastenerBasePrim< 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)
inline

Setter for Axis X.

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

Getter for Axis X.

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

Setter for Axis Y.

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

Getter for Axis Y.

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

Setter for Axis Z.

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

Getter for Axis Z.

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

Click to place.

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

Setter for object position.

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

Getter for object position.

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

Sets the position2 for object.

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

Gets the position2 for object.

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

Reset the axies.

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

Reset the position object.

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

Reset the size object.

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

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)
inlinevirtual

Sets the scale radius.

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

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 ( )
inline

Update model on click to place action.


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