1 #ifndef GPM_3DSnowGraph_H
2 #define GPM_3DSnowGraph_H
5 #include "GPMIO_vtkPortGraph.h"
282 inline static SP::GPM_3DSnowGraph
New() {
283 SP::GPM_3DSnowGraph p(
new GPM_3DSnowGraph(),GPM_3DSnowGraph::Delete());
295 const vector<vector<vector<tVertexIID> > >& fmappings)
const;
299 SP::GPM_PortGraph
createPatternGraph(
const int& eps,
int idv[4],
int idp[3][3] )
const;
308 SP::GPM_Snow3DFunction
createPatternFunction(SP::GPM_PortGraph pattern,SP::GPM_PortGraph transformer,
309 const int pattern_idv[3],
const int pattern_idp[3][3],
310 const int transformer_idcp[3][2])
const;
313 void createTetrahedron();
314 void createLozenge() ;
SP::GPM_Snow3DFunction createPatternFunction(SP::GPM_PortGraph pattern, SP::GPM_PortGraph transformer, const int pattern_idv[3], const int pattern_idp[3][3], const int transformer_idcp[3][2]) const
create pattern function
Definition: GPM_3DSnowGraph.cpp:224
SP::GPM_PortGraph createTransformerGraph(int idcp[3][2]) const
create a transformer graph
Definition: GPM_3DSnowGraph.cpp:54
tBoolean createPatternFunctions(SV::GPM_PatternFunction &patternFunctions) const
create the date for rewriting graph
Definition: GPM_3DSnowGraph.cpp:286
virtual ~GPM_3DSnowGraph(void)
destroy
Definition: GPM_3DSnowGraph.cpp:9
This class describes a 3D Snow graph.
Definition: GPM_3DSnowGraph.h:247
#define tBoolean
Definition: types.h:35
SP::GPM_PortGraph createPatternGraph(const int &eps, int idv[4], int idp[3][3]) const
create a pattern graph
Definition: GPM_3DSnowGraph.cpp:14
static SP::GPM_3DSnowGraph New()
create a test class
Definition: GPM_3DSnowGraph.h:282
virtual void patternsMappingSignalEmit(const SVC::GPM_PatternFunction patternFunction, const vector< vector< vector< tVertexIID > > > &fmappings) const
signal emmiting when the matching of patterns is done
Definition: GPM_3DSnowGraph.cpp:250
void createGraph(const int &index)
create an initial graph
Definition: GPM_3DSnowGraph.cpp:104
GPM_3DSnowGraph(void)
create
Definition: GPM_3DSnowGraph.cpp:5
DEFINE_SPTR(GPM_3DSnowGraph)