SelectionSet Class Reference


Detailed Description

This class represents a collection of faces among one or more.

mesh objects.

Definition at line 37 of file selectionset.h.

#include <selectionset.h>

Inheritance diagram for SelectionSet:
Inheritance graph
[legend]

List of all members.

Classes

struct   MeshInfo
  This structure holds the collection of faces for. More...

Public Member Functions

MeshInfo AddMesh (Mesh *pMesh)
  Add a mesh to the set.
void  SetVisible (bool bVisible)
  Hides or shows the members of the set.
void  Serialize (Stream &)
  Saves or loads from the given stream.
QList< MeshInfo * > &  MeshInfos ()
  Accessor for the array of members of this collection.
bool  Active ()
void  SetActive (bool bActive)

Public Attributes

  DECLARE_CLASS

Protected Member Functions

  SelectionSet (const QString &sName="")
  Constructor. Do not use it directly; Use CreateInstance() instead.

Protected Attributes

bool  m_bActive
QList< MeshInfo * >  m_lMeshInfos

Constructor & Destructor Documentation

SelectionSet ( const QString &  sName = "" ) [protected]

Constructor. Do not use it directly; Use CreateInstance() instead.

        SelectionSet *mySelectionSet = CreateInstance<SelectionSet>();  

Member Function Documentation

MeshInfo* AddMesh ( Mesh pMesh )

Add a mesh to the set.

Parameters:
pMesh the mesh to add
Returns:
pMesh's corresponding MeshInfo. Note the SelectionSet owns this memory.
void SetVisible ( bool  bVisible ) [virtual]

Hides or shows the members of the set.

Reimplemented from TreeNode.

void Serialize ( Stream ) [virtual]

Saves or loads from the given stream.

Reimplemented from TreeNode.

QList<MeshInfo*>& MeshInfos ( ) [inline]

Accessor for the array of members of this collection.

Definition at line 109 of file selectionset.h.

bool Active ( ) [inline]

Definition at line 115 of file selectionset.h.

void SetActive ( bool  bActive ) [inline]

Definition at line 121 of file selectionset.h.


Member Data Documentation

Reimplemented from TreeNode.

Definition at line 43 of file selectionset.h.

bool m_bActive [protected]

Definition at line 127 of file selectionset.h.

QList<MeshInfo *> m_lMeshInfos [protected]

Definition at line 129 of file selectionset.h.


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

SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet
SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet SelectionSet