Mudbox/selectionset.h Source File

selectionset.h
Go to the documentation of this file.
1 
2 //**************************************************************************/
3 // Copyright (c) 2008 Autodesk, Inc.
4 // All rights reserved.
5 //
6 // Use of this software is subject to the terms of the Autodesk license
7 // agreement provided at the time of installation or download, or which
8 // otherwise accompanies this software in either electronic or hard copy form.
9 //
10 //**************************************************************************/
11 // DESCRIPTION:
12 // CREATED: June 2009
13 //**************************************************************************/
14 
15 namespace mudbox {
16 
20 {
21 public:
23 
24 protected:
30  SelectionSet( const QString &sName = "" );
31 
32 public:
33 
36  struct MeshInfo
37  {
38  MeshInfo( Mesh *pM );
41  };
42 
46  MeshInfo *AddMesh( Mesh *pMesh );
47 
49  void SetVisible( bool bVisible );
50 
52  void Serialize( Stream & );
53 
55  inline QList<MeshInfo*>& MeshInfos() { return m_lMeshInfos; }
56 
57  // internal use only. do not use.
58  inline bool Active() { return m_bActive; }
59 
60  // internal use only. do not use.
61  inline void SetActive( bool bActive ) { m_bActive = bActive; }
62 
63 protected:
64  bool m_bActive;
66 };
67 
68 }; // end of namespace mudbox
A Mesh is a collection of vertices organized into faces, and optional Texture Coordinate information...
Definition: mesh.h:452
QList< MeshInfo * > & MeshInfos()
Accessor for the array of members of this collection.
Definition: selectionset.h:55
QList< MeshInfo * > m_lMeshInfos
Definition: selectionset.h:65
Class: ConvolutionKernel.
Definition: array.h:15
This class is the base of all node types that can be structured in a hierarchy.
Definition: treenode.h:18
This class represents a collection of faces among one or more mesh objects.
Definition: selectionset.h:19
Store< unsigned int > m_aFaces
Definition: selectionset.h:40
Streams are used to read information from a file, or to write it to a file.
Definition: stream.h:39
This structure holds the collection of faces for a given mesh.
Definition: selectionset.h:36
void SetActive(bool bActive)
Definition: selectionset.h:61
#define MBDLL_DECL
Definition: dllinterface.h:35