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

Class for working with primitive mesh which represents like cube prim. 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...
 
CubPrimuseFillet (const bool &b)
 Sets the use fillet flag. More...
 
CubPrimfilletRadius (const float &r)
 Sets the fillet radius. More...
 
float filletRadius () const
 Gets the fillet radius. More...
 
CubPrimfilletRadiusRelation (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 CubPrimResetSize ()
 Reset size. More...
 
virtual CubPrimResetAxis ()
 Reset axis. More...
 
virtual CubPrimPosition (const Vec3 &pos)
 Setter for Position. More...
 
virtual Vec3 Position () const
 Getter for Position. More...
 
CubPrimSize (const Vec3 &pos)
 Setter for Size. More...
 
Vec3 Size () const
 Getter for Size. More...
 
CubPrimSideA (const float &a)
 Setter for Side X. More...
 
float SideA () const
 Getter for Side X. More...
 
CubPrimSideB (const float &b)
 Setter for Side Y. More...
 
float SideB () const
 Getter for Side Y. More...
 
CubPrimSideC (const float &c)
 Setter for Side C. More...
 
float SideC () const
 Getter for Side C. More...
 
CubPrimAxisX (const Vec3 &ax)
 Setter for Axis X. More...
 
Vec3 AxisX () const
 Getter for Axis X. More...
 
CubPrimAxisY (const Vec3 &ay)
 Setter for Axis Y. More...
 
Vec3 AxisY () const
 Getter for Axis Y. More...
 
CubPrimAxisZ (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 cube prim.

cube.jpg
See Also
CubePrim for notes.
Since
5.0.0
+ Inheritance diagram for coat::scripto::CubPrim:

Member Enumeration Documentation

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

Operations with meshes.

Member Function Documentation

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

Setter for Axis X.

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

Getter for Axis X.

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

Setter for Axis Y.

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

Getter for Axis Y.

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

Setter for Axis Z.

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

Getter for Axis Z.

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

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

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

Sets the fillet radius.

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

Gets the fillet radius.

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

Sets the fillet relative radius.

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

Gets the fillet relative radius.

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

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

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

Hides the axis direction.

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

Setter for Position.

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

Getter for Position.

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

Reset axis.

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

Reset size.

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

Shows the axis direction.

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

Setter for Side X.

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

Getter for Side X.

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

Setter for Side Y.

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

Getter for Side Y.

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

Setter for Side C.

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

Getter for Side C.

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

Setter for Size.

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

Getter for Size.

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

Gets the use fillet flag.

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

Sets the use fillet flag.


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