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::MeshGear Class Referenceabstract

Class for working with mesh which represents like gear. More...

#include <SMeshGear.h>

Public Types

enum  Mode
 Operations with meshes. More...
 

Public Member Functions

bool operator== (const AMesh &b) const
 Comparison. More...
 
MeshGeardetails (const float &d)
 Setter for details level. More...
 
float details () const
 Getter for details level. More...
 
MeshGearposition (const Vec3 &p)
 Setter for position. More...
 
Vec3 position () const
 Getter for position. More...
 
MeshGearrotation (const Angles &a)
 Setter for rotation. More...
 
Angles rotation () const
 Getter for rotation. More...
 
MeshGeartransform (const Mat4 &m)
 Setter for transform. More...
 
Mat4 transform () const
 Getter for transform. More...
 
MeshGearadd (const MeshGear &b)
 Fusion a mesh b to this mesh. More...
 
MeshGearadd (const MeshGear &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh addCopy (const MeshGear &b) const
 
Mesh addCopy (const MeshGear &, const Bevel &) const
 
Mesh operator| (const MeshGear &) const
 Fusion two meshes to one mesh. Logical OR. More...
 
MeshGearsubtruct (const MeshGear &b)
 Fusion a mesh b to this mesh. More...
 
MeshGearsubtruct (const MeshGear &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh subtructCopy (const MeshGear &b) const
 
Mesh subtructCopy (const MeshGear &, const Bevel &) const
 
Mesh operator- (const MeshGear &) const
 Subtract mesh b from this mesh. More...
 
MeshGearintersect (const MeshGear &b)
 Fusion a mesh b to this mesh. More...
 
MeshGearintersect (const MeshGear &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh intersectCopy (const MeshGear &b) const
 
Mesh intersectCopy (const MeshGear &, const Bevel &) const
 
Mesh operator& (const MeshGear &) const
 Intersects mesh b and this mesh. Logical AND. More...
 

Detailed Description

Class for working with mesh which represents like gear.

mesh-gear.jpg
See Also
MeshSphere for notes.
Since
4.5.32
+ Inheritance diagram for coat::scripto::MeshGear:

Member Enumeration Documentation

enum coat::scripto::AMesh::Mode
stronginherited

Operations with meshes.

See Also
signMode()

Member Function Documentation

MeshGear & coat::scripto::AMesh< MeshGear >::add ( const MeshGear b)
inlineinherited

Fusion a mesh b to this mesh.

a.add( b );
See Also
operator|(), addCopy()
Since
4.7.15
MeshGear & coat::scripto::AMesh< MeshGear >::add ( const MeshGear ,
const Bevel  
)
inherited

Fusion a mesh b to this mesh with bevel.

a.add( b );
See Also
Bevel, operator|(), addCopy()
Since
4.7.15
Mesh coat::scripto::AMesh< MeshGear >::addCopy ( const MeshGear b) const
inherited
See Also
add( const Mesh& )
Since
4.7.15
Mesh coat::scripto::AMesh< MeshGear >::addCopy ( const MeshGear ,
const Bevel  
) const
inherited
See Also
add( const Mesh&, const Bevel& )
Since
4.7.15
MeshGear & coat::scripto::AMesh< MeshGear >::details ( const float &  d)
inlineinherited

Setter for details level.

float coat::scripto::AMesh< MeshGear >::details ( ) const
inlineinherited

Getter for details level.

MeshGear & coat::scripto::AMesh< MeshGear >::intersect ( const MeshGear b)
inlineinherited

Fusion a mesh b to this mesh.

a.intersect( b );

operator&()

Since
4.7.15
MeshGear & coat::scripto::AMesh< MeshGear >::intersect ( const MeshGear ,
const Bevel  
)
inherited

Fusion a mesh b to this mesh with bevel.

a.intersect( b );
See Also
Bevel
Since
4.7.15
Mesh coat::scripto::AMesh< MeshGear >::intersectCopy ( const MeshGear b) const
inherited
See Also
intersect( const Mesh& )
Since
4.7.15
Mesh coat::scripto::AMesh< MeshGear >::intersectCopy ( const MeshGear ,
const Bevel  
) const
inherited
See Also
intersect( const Mesh&, const Bevel& )
Since
4.7.15
Mesh coat::scripto::AMesh< MeshGear >::operator& ( const MeshGear ) const
inherited

Intersects mesh b and this mesh. Logical AND.

Mesh r = a & b;
See Also
intersect()
Mesh coat::scripto::AMesh< MeshGear >::operator- ( const MeshGear ) const
inherited

Subtract mesh b from this mesh.

Mesh r = a - b;
See Also
subtruct()
bool coat::scripto::AMesh< MeshGear >::operator== ( const AMesh< MeshGear > &  b) const
inlineinherited

Comparison.

Mesh a;
Mesh b;
...
if (a == b) { ... }
Mesh coat::scripto::AMesh< MeshGear >::operator| ( const MeshGear ) const
inherited

Fusion two meshes to one mesh. Logical OR.

Mesh r = a | b;
See Also
add()
MeshGear & coat::scripto::AMesh< MeshGear >::position ( const Vec3 p)
inlineinherited

Setter for position.

Vec3 coat::scripto::AMesh< MeshGear >::position ( ) const
inlineinherited

Getter for position.

MeshGear & coat::scripto::AMesh< MeshGear >::rotation ( const Angles a)
inlineinherited

Setter for rotation.

Angles coat::scripto::AMesh< MeshGear >::rotation ( ) const
inlineinherited

Getter for rotation.

MeshGear & coat::scripto::AMesh< MeshGear >::subtruct ( const MeshGear b)
inlineinherited

Fusion a mesh b to this mesh.

a.subtruct( b );

operator-()

Since
4.7.15
MeshGear & coat::scripto::AMesh< MeshGear >::subtruct ( const MeshGear ,
const Bevel  
)
inherited

Fusion a mesh b to this mesh with bevel.

a.subtruct( b );
See Also
Bevel
Since
4.7.15
Mesh coat::scripto::AMesh< MeshGear >::subtructCopy ( const MeshGear b) const
inherited
See Also
subtruct( const Mesh& )
Since
4.7.15
Mesh coat::scripto::AMesh< MeshGear >::subtructCopy ( const MeshGear ,
const Bevel  
) const
inherited
See Also
subtruct( const Mesh&, const Bevel& )
Since
4.7.15
MeshGear & coat::scripto::AMesh< MeshGear >::transform ( const Mat4 m)
inlineinherited

Setter for transform.

Mat4 coat::scripto::AMesh< MeshGear >::transform ( ) const
inlineinherited

Getter for transform.


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