2#include <NDEVR/Model.h>
3#include <NDEVR/Geometry.h>
4#include <NDEVR/Material.h>
5#include <NDEVR/DesignParameter.h>
6#include <NDEVR/RGBColor.h>
40 if(m_flag_column ==
nullptr)
42 flag = m_flag_column->get<
uint01>(m_vertex_offset + index);
52 return m_vertex_count;
59 const uint04 m_vertex_offset;
60 const uint04 m_vertex_count;
A bitset that stores 8 bits (elements with only two possible values: 0 or 1, true or false,...
The equivelent of std::vector but with a bit more control.
A definition of data that is logically stored in the Model hierarchy.
A core class within the model hierarchy containing vertex-based data (Usually 3D data) within a set c...
Container responsible for storing and setting the appearance of a Model or Geometry within the NDEVR ...
UVMode
Defines UV mapping modes that control how texture colors are determined for surfaces.
Templated logic for doing matrix multiplication.
A core class that represents a node on model hierarchy.
Represents a color in the RGB space with optional alpha transparency.
A virtual storage type that is used with Table class to store data where the actual mechanism for sto...
uint04 size() const
Returns the number of vertices this iterator covers.
RGBColor operator[](uint04 index) const
Computes the color for a vertex at the given index.
BitFlag flag(uint04 index) const
Retrieves the bit flag associated with a vertex at the given index.
VertexColorIterator(const Model &model, const Geometry &geo, const Material &material, const UVType &uv_type=UVType::e_KD)
Constructs a VertexColorIterator from a Model, Geometry, and Material.
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
double fltp08
Defines an alias representing an 8 byte floating-point number.
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
UVType
Channels that describe how an object should interact with light.
@ e_KD
Diffuse texture/color channel.