#ifndef GFXSMF_STATE_INCLUDED // -*- C++ -*-
#define GFXSMF_STATE_INCLUDED
#include "AffineXform.hpp"
#include <string>
#include <vector>
namespace moab
{
struct SMF_ivars
{
int next_vertex;
int next_face;
};
class SMF_State
{
private:
//
// Standard state variables
int first_vertex;
int vertex_correction;
AffineXform xform;
public:
SMF_State( const SMF_ivars& ivar, SMF_State* next = 0 );<--- Class 'SMF_State' has a constructor with 1 argument that is not explicit. [+]Class 'SMF_State' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided.
<--- Class 'SMF_State' has a constructor with 1 argument that is not explicit. [+]Class 'SMF_State' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided.
void set_vertex_correction( int i );
void inc( const char* var, int delta = 1 );
void dec( const char* var, int delta = 1 );
void mmult( const AffineXform& );
void mload( const AffineXform& );
void vertex( double v[3] );
void normal( double n[3] );
void face( int*, const SMF_ivars& ivar );
};
} // namespace moab
// GFXSMF_STATE_INCLUDED
#endif