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

Abstract mesh. More...

#include <SAMesh.h>

Public Types

enum  Mode
 Operations with meshes. More...
 

Public Member Functions

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

Detailed Description

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

Abstract mesh.

See Also
Mesh
+ Inheritance diagram for coat::scripto::AMesh< T >:

Member Enumeration Documentation

template<class T>
enum coat::scripto::AMesh::Mode
strong

Operations with meshes.

See Also
signMode()

Member Function Documentation

template<class T>
T& coat::scripto::AMesh< T >::add ( const T &  b)
inline

Fusion a mesh b to this mesh.

a.add( b );
See Also
operator|(), addCopy()
Since
4.7.15

Referenced by coat::scripto::AMesh< MeshCone >::add().

template<class T>
T & coat::scripto::AMesh< T >::add ( const T &  b,
const Bevel o 
)

Fusion a mesh b to this mesh with bevel.

a.add( b );
See Also
Bevel, operator|(), addCopy()
Since
4.7.15
template<class T>
Mesh coat::scripto::AMesh< T >::addCopy ( const T &  b) const
See Also
add( const Mesh& )
Since
4.7.15
template<class T>
Mesh coat::scripto::AMesh< T >::addCopy ( const T &  b,
const Bevel o 
) const
See Also
add( const Mesh&, const Bevel& )
Since
4.7.15
template<class T>
T& coat::scripto::AMesh< T >::details ( const float &  d)
inline

Setter for details level.

template<class T>
float coat::scripto::AMesh< T >::details ( ) const
inline

Getter for details level.

template<class T>
T& coat::scripto::AMesh< T >::intersect ( const T &  b)
inline

Fusion a mesh b to this mesh.

a.intersect( b );

operator&()

Since
4.7.15

Referenced by coat::scripto::AMesh< MeshCone >::intersect().

template<class T>
T & coat::scripto::AMesh< T >::intersect ( const T &  b,
const Bevel o 
)

Fusion a mesh b to this mesh with bevel.

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

Intersects mesh b and this mesh. Logical AND.

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

Subtract mesh b from this mesh.

Mesh r = a - b;
See Also
subtruct()
template<class T>
bool coat::scripto::AMesh< T >::operator== ( const AMesh< T > &  b) const
inline

Comparison.

Mesh a;
Mesh b;
...
if (a == b) { ... }

Referenced by coat::scripto::Mesh::operator==().

template<class T>
Mesh coat::scripto::AMesh< T >::operator| ( const T &  b) const

Fusion two meshes to one mesh. Logical OR.

Mesh r = a | b;
See Also
add()
template<class T>
T& coat::scripto::AMesh< T >::position ( const Vec3 p)
inline

Setter for position.

template<class T>
Vec3 coat::scripto::AMesh< T >::position ( ) const
inline

Getter for position.

template<class T>
T& coat::scripto::AMesh< T >::rotation ( const Angles a)
inline

Setter for rotation.

template<class T>
Angles coat::scripto::AMesh< T >::rotation ( ) const
inline

Getter for rotation.

template<class T>
T& coat::scripto::AMesh< T >::subtruct ( const T &  b)
inline

Fusion a mesh b to this mesh.

a.subtruct( b );

operator-()

Since
4.7.15

Referenced by coat::scripto::AMesh< MeshCone >::subtruct().

template<class T>
T & coat::scripto::AMesh< T >::subtruct ( const T &  b,
const Bevel o 
)

Fusion a mesh b to this mesh with bevel.

a.subtruct( b );
See Also
Bevel
Since
4.7.15
template<class T>
Mesh coat::scripto::AMesh< T >::subtructCopy ( const T &  b) const
See Also
subtruct( const Mesh& )
Since
4.7.15
template<class T>
Mesh coat::scripto::AMesh< T >::subtructCopy ( const T &  b,
const Bevel o 
) const
See Also
subtruct( const Mesh&, const Bevel& )
Since
4.7.15
template<class T>
T& coat::scripto::AMesh< T >::transform ( const Mat4 m)
inline

Setter for transform.

template<class T>
Mat4 coat::scripto::AMesh< T >::transform ( ) const
inline

Getter for transform.


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