V-ART
box.h
Go to the documentation of this file.
1 
5 #ifndef VART_BOX_H
6 #define VART_BOX_H
7 
8 #include "vart/meshobject.h"
9 #include "vart/material.h"
10 
11 #include "vart/mesh.h"
12 #include "vart/point4d.h"
13 #include "vart/graphicobj.h"
14 #include "vart/transform.h"
15 #include <vector>
16 #include <list>
17 #include <map>
18 
19 namespace VART {
22  class Box : public MeshObject {
23  public:
24  // FACE ENUM
27 
28  // PUBLIC METHODS
30  Box();
32  void MakeBox(double minX, double maxX, double minY, double maxY, double minZ, double maxZ, bool oneMesh=true);
33 
35  void SetMaterialBoxFace(const Material& mat, int numberFace=6);
36  }; // end class declaration
37 } // end namespace
38 #endif
Header file for V-ART class "Material".
Header file for V-ART class "GraphicObj".
Header file for V-ART class "Mesh".
Box()
Creates an uninitialized box.
Definition: box.cpp:25
void MakeBox(double minX, double maxX, double minY, double maxY, double minZ, double maxZ, bool oneMesh=true)
Creates a box aligned with the 3 reference planes (XY, XZ and YZ).
Definition: box.cpp:28
Header file for V-ART class "Transform".
Material properties for graphical objects.
Definition: material.h:16
void SetMaterialBoxFace(const Material &mat, int numberFace=6)
Assigns a material to the mesh of one (or all) face of a box object.
Definition: box.cpp:111
Header file for V-ART class "Point4D".
Header file for V-ART class "MeshObject".
faceEnum
Definition: box.h:25
A box.
Definition: box.h:22
Graphical object made of polygon meshes.
Definition: meshobject.h:25