C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Abstract class of duplication parameters. More...

#include <op_duplication_parameter.h>

+ Inheritance diagram for DuplicationValues:

Public Member Functions

virtual ~DuplicationValues ()
 Destructor.
 
virtual bool Init (const DuplicationValues &)=0
 Copy function.
 
virtual MbeDuplicatesType Type () const =0
 Type of parameters. More...
 
virtual void Transform (const MbMatrix3D &, MbRegTransform *=nullptr)=0
 Transform parameters according to the matrix.
 
virtual void Move (const MbVector3D &, MbRegTransform *=nullptr)=0
 Move parameters along a vector. More...
 
virtual void Rotate (const MbAxis3D &, double ang, MbRegTransform *=nullptr)=0
 Rotate parameters at a given angle around an axis. More...
 
virtual void GetProperties (MbProperties &)=0
 Get properties of the object. More...
 
virtual void SetProperties (const MbProperties &)=0
 Set properties of the object. More...
 
virtual bool IsSame (const DuplicationValues &, double accuracy) const =0
 Determine whether an object is equal? More...
 
virtual DuplicationValuesDuplicate (MbRegDuplicate *=nullptr) const =0
 Create a copy of the object. More...
 
virtual void GenerateTransformMatrices (std::vector< MbMatrix3D > &) const =0
 Generate matrices of transformations. More...
 
virtual size_t Count () const =0
 Number of of copies. More...
 

Protected Member Functions

 DuplicationValues ()
 Default constructor.
 

Detailed Description

Abstract class of duplication parameters.

Parent class for all types of parameters of duplication.

Member Function Documentation

◆ Type()

virtual MbeDuplicatesType DuplicationValues::Type ( ) const
pure virtual

Type of parameters.

Return type of parameters of duplication.

Implemented in DuplicationMatrixValues, and DuplicationMeshValues.

◆ Move()

virtual void DuplicationValues::Move ( const MbVector3D ,
MbRegTransform = nullptr 
)
pure virtual

Move parameters along a vector.

Move parameters along a vector.

Implemented in DuplicationMatrixValues, and DuplicationMeshValues.

◆ Rotate()

virtual void DuplicationValues::Rotate ( const MbAxis3D ,
double  ang,
MbRegTransform = nullptr 
)
pure virtual

Rotate parameters at a given angle around an axis.

Rotate parameters at a given angle around an axis.

Implemented in DuplicationMatrixValues, and DuplicationMeshValues.

◆ GetProperties()

virtual void DuplicationValues::GetProperties ( MbProperties )
pure virtual

Get properties of the object.

Get properties of the object.

Implemented in DuplicationMatrixValues, and DuplicationMeshValues.

◆ SetProperties()

virtual void DuplicationValues::SetProperties ( const MbProperties )
pure virtual

Set properties of the object.

Set properties of the object.

Implemented in DuplicationMatrixValues, and DuplicationMeshValues.

◆ IsSame()

virtual bool DuplicationValues::IsSame ( const DuplicationValues ,
double  accuracy 
) const
pure virtual

Determine whether an object is equal?

Determine whether an object is equal?

Implemented in DuplicationMatrixValues, and DuplicationMeshValues.

◆ Duplicate()

virtual DuplicationValues& DuplicationValues::Duplicate ( MbRegDuplicate = nullptr) const
pure virtual

Create a copy of the object.

Create a copy of the object.

Implemented in DuplicationMatrixValues, and DuplicationMeshValues.

◆ GenerateTransformMatrices()

virtual void DuplicationValues::GenerateTransformMatrices ( std::vector< MbMatrix3D > &  ) const
pure virtual

Generate matrices of transformations.

Generate matrices of transformations according to parameters.

Implemented in DuplicationMatrixValues, and DuplicationMeshValues.

◆ Count()

virtual size_t DuplicationValues::Count ( ) const
pure virtual

Number of of copies.

Number of of copies.

Implemented in DuplicationMatrixValues, and DuplicationMeshValues.


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