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

Abstract cube primitive class More...

#include <SCubPrim.h>

Public Types

enum  Mode
 Operations with meshes. More...
 

Public Member Functions

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...
 
T & useFillet (const bool &b)
 Sets the use fillet flag. More...
 
T & filletRadius (const float &r)
 Sets the fillet radius. More...
 
float filletRadius () const
 Gets the fillet radius. More...
 
T & filletRadiusRelation (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 T & ResetSize ()
 Reset size. More...
 
virtual T & ResetAxis ()
 Reset axis. More...
 
virtual T & Position (const Vec3 &pos)
 Setter for Position. More...
 
virtual Vec3 Position () const
 Getter for Position. More...
 
T & Size (const Vec3 &pos)
 Setter for Size. More...
 
Vec3 Size () const
 Getter for Size. More...
 
T & SideA (const float &a)
 Setter for Side X. More...
 
float SideA () const
 Getter for Side X. More...
 
T & SideB (const float &b)
 Setter for Side Y. More...
 
float SideB () const
 Getter for Side Y. More...
 
T & SideC (const float &c)
 Setter for Side C. More...
 
float SideC () const
 Getter for Side C. 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::ICubPrim< T >

Abstract cube primitive class

+ Inheritance diagram for coat::scripto::ICubPrim< 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::IRegularGizmo< T >::AxisX ( const Vec3 ax)
inlineinherited

Setter for Axis X.

template<class T>
Vec3 coat::scripto::IRegularGizmo< T >::AxisX ( ) const
inlineinherited

Getter for Axis X.

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

Setter for Axis Y.

template<class T>
Vec3 coat::scripto::IRegularGizmo< T >::AxisY ( ) const
inlineinherited

Getter for Axis Y.

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

Setter for Axis Z.

template<class T>
Vec3 coat::scripto::IRegularGizmo< T >::AxisZ ( ) const
inlineinherited

Getter for Axis Z.

template<class T>
cbpm_t* coat::scripto::ICubPrim< T >::cbpm_ptr ( ) const
inline
template<class T>
T& coat::scripto::ICubPrim< T >::filletRadius ( const float &  r)
inline

Sets the fillet radius.

template<class T>
float coat::scripto::ICubPrim< T >::filletRadius ( ) const
inline

Gets the fillet radius.

template<class T>
T& coat::scripto::ICubPrim< T >::filletRadiusRelation ( const float &  r)
inline

Sets the fillet relative radius.

template<class T>
float coat::scripto::ICubPrim< T >::filletRadiusRelation ( ) const
inline

Gets the fillet relative radius.

template<class T>
void coat::scripto::IRegularGizmo< T >::HideAxisDirection ( ) const
inlineinherited

Hides the axis direction.

template<class T>
virtual T& coat::scripto::IRegularGizmo< T >::Position ( const Vec3 pos)
inlinevirtualinherited

Setter for Position.

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

Getter for Position.

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

Reset axis.

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

Reset size.

template<class T>
void coat::scripto::IRegularGizmo< T >::ShowAxisDirection ( ) const
inlineinherited

Shows the axis direction.

template<class T>
T& coat::scripto::IRegularGizmo< T >::SideA ( const float &  a)
inlineinherited

Setter for Side X.

template<class T>
float coat::scripto::IRegularGizmo< T >::SideA ( ) const
inlineinherited

Getter for Side X.

template<class T>
T& coat::scripto::IRegularGizmo< T >::SideB ( const float &  b)
inlineinherited

Setter for Side Y.

template<class T>
float coat::scripto::IRegularGizmo< T >::SideB ( ) const
inlineinherited

Getter for Side Y.

template<class T>
T& coat::scripto::IRegularGizmo< T >::SideC ( const float &  c)
inlineinherited

Setter for Side C.

template<class T>
float coat::scripto::IRegularGizmo< T >::SideC ( ) const
inlineinherited

Getter for Side C.

template<class T>
T& coat::scripto::IRegularGizmo< T >::Size ( const Vec3 pos)
inlineinherited

Setter for Size.

template<class T>
Vec3 coat::scripto::IRegularGizmo< T >::Size ( ) const
inlineinherited

Getter for Size.

template<class T>
bool coat::scripto::ICubPrim< T >::useFillet ( ) const
inline

Gets the use fillet flag.

template<class T>
T& coat::scripto::ICubPrim< T >::useFillet ( const bool &  b)
inline

Sets the use fillet flag.


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