7 #include <fwCamp/UserObject.hpp> 8 #include "fwDataCamp/Material.hpp" 10 fwCampImplementDataMacro((
fwData)(Material))
13 .tag(
"object_version",
"4")
14 .tag(
"lib_name",
"fwData")
27 fwCampImplementEnumMacro((
fwData)(Material)(OptionsType))
30 .value(
"STANDARD", ::fwData::Material::STANDARD)
31 .value(
"NORMALS", ::fwData::Material::NORMALS)
32 .value(
"CELLS_NORMALS", ::fwData::Material::CELLS_NORMALS)
36 fwCampImplementEnumMacro((
fwData)(Material)(ShadingType))
39 .value(
"AMBIENT", ::fwData::Material::AMBIENT)
40 .value(
"FLAT", ::fwData::Material::FLAT)
41 .value(
"GOURAUD", ::fwData::Material::GOURAUD)
42 .value(
"PHONG", ::fwData::Material::PHONG)
46 fwCampImplementEnumMacro((
fwData)(Material)(RepresentationType))
49 .value(
"SURFACE", ::fwData::Material::SURFACE)
50 .value(
"POINT", ::fwData::Material::POINT )
51 .value(
"WIREFRAME", ::fwData::Material::WIREFRAME)
52 .value(
"EDGE", ::fwData::Material::EDGE)
56 fwCampImplementEnumMacro((
fwData)(Material)(FilteringType))
59 .value(
"NEAREST", ::fwData::Material::NEAREST)
60 .value(
"LINEAR", ::fwData::Material::LINEAR)
64 fwCampImplementEnumMacro((
fwData)(Material)(WrappingType))
67 .value(
"CLAMP", ::fwData::Material::CLAMP)
68 .value(
"REPEAT", ::fwData::Material::REPEAT)
ShadingType m_shadingMode
Shading mode (flat, Gouraud, Phong)
Color::sptr m_ambient
Ambient color.
OptionsType m_optionsMode
Options mode (display normals or not)
Color::sptr m_diffuse
Diffuse color.
FilteringType m_diffuseTextureFiltering
Filtering for diffuse texture.
Image::sptr m_diffuseTexture
Diffuse texture.
RepresentationType m_representationMode
Fill mode (flat, wireframe, point)
Base class for each data object.
WrappingType m_diffuseTextureWrapping
Wrapping for diffuse texture.
Contains the representation of the data objects used in the framework.