COVISE Core
coComplexModules.h
Go to the documentation of this file.
1/* This file is part of COVISE.
2
3 You can use it under the terms of the GNU Lesser General Public License
4 version 2.1 or later, see lgpl-2.1.txt.
5
6 * License: LGPL 2+ */
7
8#ifndef CO_COMPLEX_MODULES_H
9#define CO_COMPLEX_MODULES_H
10
11#include <util/coExport.h>
12#include <api/coModule.h>
13#include "coColors.h"
14#include "coVectField.h"
15
16namespace covise
17{
18
20{
21public:
22 static coDistributedObject *DataTexture(const string &color_name,
23 const coDistributedObject *dataOut,
24 const coDistributedObject *colorMap,
25 bool texture,
26 int repeat = 1, float *min = NULL, float *max = NULL);
27
28 static coDistributedObject *DataTextureLineCropped(const string &color_name,
29 coDistributedObject *dataOut,
31 const coDistributedObject *colorMap,
32 bool texture,
33 int repeat = 1, int croppedLength = 0,
34 float min = FLT_MAX, float max = -FLT_MAX);
35
36 static coDistributedObject *
37 MakeArrows(const char *name, const coDistributedObject *geo, const coDistributedObject *data,
38 const char *nameColor, coDistributedObject **colorSurf,
39 coDistributedObject **colorLines,
40 float factor,
41 const coDistributedObject *colorMap,
42 bool ColorMapAttrib,
43 const ScalarContainer *SCont,
44 float scale, int lineChoice, int numsectors, int project_lines, int vect_option);
45 static coDistributedObject *
46 MakeArrows(const char *name, const coDistributedObject *geo, const coDistributedObject *data,
47 const char *nameColor, coDistributedObject **colorSurf,
48 coDistributedObject **colorLines,
49 float factor,
50 const coDistributedObject *colorMap,
51 bool ColorMapAttrib,
52 const ScalarContainer *SCont,
53 float scale, int lineChoice, int numsectors, float arrow_factor, float angle,
54 int project_lines, int vect_option);
55 static coDistributedObject *
56 Spheres(const char *name, const coDistributedObject *points, float radius,
57 const char *name_norm, coDistributedObject **normals);
58
59 static coDistributedObject *
60 Bars(const char *name, coDistributedObject *points, float radius, coDistributedObject *tangents, const char *name_norm, coDistributedObject **normals);
61
62 static coDistributedObject *
63 Compass(const char *name, const coDistributedObject *points, float radius, const coDistributedObject *tangents, const char *name_norm, coDistributedObject **normals, coDistributedObject **colors = NULL);
64
65 static coDistributedObject *
66 BarMagnets(const char *name, const coDistributedObject *points, float radius, const coDistributedObject *tangents, const char *name_norm, coDistributedObject **normals, coDistributedObject **colors = NULL);
67
68 static coDistributedObject *
69 Tubelines(const char *name, const coDistributedObject *lines, const coDistributedObject *tangents, float tubeSize, float radius, int trailLength, const char *headType, coDistributedObject **colors = NULL);
70
71 static coDistributedObject *
72 ThickStreamlines(const char *name, const coDistributedObject *lines, const coDistributedObject *tangents, float tubeSize, int trailLength);
73
74 static coDistributedObject *
75 croppedLinesSet(const coDistributedObject *lines, int croppedLength);
76};
77}
78#endif
#define ALGEXPORT
Definition: coExport.h:337
#define NULL
Definition: covise_list.h:22
GLenum GLuint texture
Definition: khronos-glext.h:6986
GLenum GLenum GLenum GLenum GLenum scale
Definition: khronos-glext.h:9991
GLfloat angle
Definition: khronos-glext.h:12122
GLuint const GLchar * name
Definition: khronos-glext.h:6722
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: khronos-glext.h:6354
GLsizei const GLfloat * points
Definition: khronos-glext.h:9066
int min(int a, int b)
Definition: cutil_math.h:60
int max(int a, int b)
Definition: cutil_math.h:55
list of all chemical elements
Definition: coConfig.h:27
Definition: coDistributedObject.h:296
Definition: coColors.h:70
Definition: coComplexModules.h:20