Go to the documentation of this file.
49 #define VTK_WIREFRAME 1
61 class vtkPropertyInternals;
113 { this->SetInterpolation(
VTK_FLAT); }
118 const char *GetInterpolationAsString();
131 const char *GetRepresentationAsString();
292 { this->AddShaderVariable(
name, 1, &
v); }
294 { this->AddShaderVariable(
name, 1, &
v); }
296 { this->AddShaderVariable(
name, 1, &
v); }
300 this->AddShaderVariable(
name, 2,
v);
304 float v[2] = {
v1,
v2};
305 this->AddShaderVariable(
name, 2,
v);
309 double v[2] = {
v1,
v2};
310 this->AddShaderVariable(
name, 2,
v);
315 this->AddShaderVariable(
name, 3,
v);
320 this->AddShaderVariable(
name, 3,
v);
325 this->AddShaderVariable(
name, 3,
v);
369 VTK_TEXTURE_UNIT_0 = 0,
388 double ambient,
const double ambient_color[3],
389 double diffuse,
const double diffuse_color[3],
390 double specular,
const double specular_color[3]);
394 double AmbientColor[3];
395 double DiffuseColor[3];
396 double SpecularColor[3];
432 vtkPropertyInternals* Internals;
GLfloat GLfloat GLfloat GLfloat v3
vtkTexture * GetTexture(int unit)
static vtkProperty * New()
void SetInterpolationToPhong()
GLfloat GLfloat GLfloat v2
void AddShaderVariable(const char *name, double v)
GLboolean GLboolean GLboolean b
const char * GetRepresentationAsString()
void DeepCopy(vtkProperty *p)
an adapter to pass generic vertex attributes to the rendering pipeline. .SECTION This class is an ada...
#define vtkSetVector3Macro(name, type)
void SetInterpolationToFlat()
void AddShaderVariable(const char *name, int v1, int v2, int v3)
#define vtkTypeMacro(thisClass, superclass)
void SetRepresentationToPoints()
abstract base class for most VTK objects
void RemoveTexture(const char *name)
GLint GLint GLint GLint GLint x
virtual void AddShaderVariable(const char *name, int numVars, int *x)
void PrintSelf(ostream &os, vtkIndent indent)
int GetTextureUnitAtIndex(int index)
void AddShaderVariable(const char *name, double v1, double v2, double v3)
void RemoveTexture(int unit)
void AddShaderVariable(const char *name, float v1, float v2)
int GetTextureUnit(const char *name)
window superclass for vtkRenderWindow
void AddShaderVariable(const char *name, double v1, double v2)
void AddShaderVariable(const char *name, float v)
#define vtkSetClampMacro(name, type, min, max)
GLuint const GLchar * name
handles properties associated with a texture map
#define vtkGetVector3Macro(name, type)
vtkTexture * GetTexture(const char *name)
void GetColor(double &r, double &g, double &b)
int GetNumberOfTextures()
The ShaderProgram uses one or more Shader objects.
virtual void AddShaderVariable(const char *name, int numVars, double *x)
virtual vtkShaderDeviceAdapter2 * GetShaderDeviceAdapter2()
represents an object (geometry & properties) in a rendered scene
void SetInterpolationToGouraud()
a simple class to control print indentation
#define vtkSetStringMacro(name)
int LineStippleRepeatFactor
const char * GetInterpolationAsString()
void AddShaderVariable(const char *name, int v)
void GetColor(double rgb[3])
Represents an XML element and those nested inside.
#define vtkGetMacro(name, type)
vtkGetStringMacro(ExtensionsString)
virtual void ReleaseGraphicsResources(vtkWindow *win)
void AddShaderVariable(const char *name, int v1, int v2)
virtual void BackfaceRender(vtkActor *, vtkRenderer *)
GLboolean GLboolean GLboolean GLboolean a
virtual void SetColor(double r, double g, double b)
virtual void PostRender(vtkActor *, vtkRenderer *)
void SetTexture(int unit, vtkTexture *texture)
void SetRepresentationToSurface()
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
void SetRepresentationToWireframe()
GLdouble GLdouble GLdouble r
virtual void AddShaderVariable(const char *name, int numVars, float *x)
vtkTexture * GetTextureAtIndex(int index)
abstract specification for renderers
void SetTexture(const char *name, vtkTexture *texture)
void AddShaderVariable(const char *name, float v1, float v2, float v3)
represent surface properties of a geometric object
#define VTKRENDERINGCORE_EXPORT
virtual void Render(vtkActor *, vtkRenderer *)
static void ComputeCompositeColor(double result[3], double ambient, const double ambient_color[3], double diffuse, const double diffuse_color[3], double specular, const double specular_color[3])
virtual void SetColor(double a[3])