C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

The MathGroupItem class provides an item for use with the MathGroupGeometry class. More...

#include <vsn_mathgroupgeometry.h>

Public Member Functions

 MathGroupItem (MathGroupGeometry *pGeometry, const MbItem *pItem, const MbMatrix3D &mx, float sag=static_cast< float >(Math::visualSag))
 Default constructor.
 
 ~MathGroupItem ()
 Destructor.
 
MathGroupGeometryGetGroupGeometry () const
 Return a pointer to a MathGroupGeometry that contains a list of these elements.
 
NodeKey GetUniqueKey () const
 Return a key identifying this element.
 
bool IsHidden () const
 Return true if this element is hidden, otherwise return false.
 
void SetHidden (bool hide)
 Hide the element if hide is true, otherwise show the element.
 
String GetText () const
 Return the text of the element.
 
void SetText (const String &text)
 Set text for this element.
 
const MbPathGetPath () const
 Return the path of the element.
 
void SetPath (const MbPath &path)
 Set path for this element.
 
const MbItemGetItem () const
 Return a pointer to the mathematical representation.
 
Matrix3DFPtr GetMatrix () const
 Return the matrix of this element.
 
void SetMatrix (const Matrix3DF &mx)
 Return a matrix to this element.
 
void ResetMatrix ()
 Reset the matrix to zero for this element.
 
float GetVisualSag () const
 Return polygon calculation accuracy value for this element.
 
void SetVisualSag (float sag=static_cast< float >(Math::visualSag))
 Set polygon calculation accuracy value for this element.
 
MaterialGetMaterial () const
 Return pointer to MathGroupItem material.
 
MaterialGetSpecialMaterial () const
 Return pointer to MathGroupItem special material.
 
bool IsExistSpecialMaterial () const
 Return true if there is a special material for MathGroupItem.
 
bool IsIgnoreSpecialMaterialColor () const
 Return the flag to ignore the color of the special material.
 
void SetIgnoreSpecialMaterialColor (bool ignore)
 Set the flag to ignore the color of the special material.
 
bool IsIgnoreSpecialMaterialTransparency () const
 Return the flag to ignore the transparency of the special material.
 
void SetIgnoreSpecialMaterialTransparency (bool ignore)
 Set the flag to ignore the transparency of the special material.
 
MaterialCreateSpecialMaterial ()
 Create special material for MathGroupItem.
 
void DeleteSpecialMaterial ()
 Delete special material for MathGroupItem.
 

Detailed Description

The MathGroupItem class provides an item for use with the MathGroupGeometry class.

MathGroupItem represents a single element for MathGroupGeometry. Each element can contain certain information to appropriately display it.


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