23 #ifndef vtkOpenGLPolyDataMapper_h
24 #define vtkOpenGLPolyDataMapper_h
46 void PrintSelf(ostream& os,
vtkIndent indent);
62 void ReleaseGraphicsResources(
vtkWindow *);
64 vtkGetMacro(PopulateSelectionSettings,
int);
65 void SetPopulateSelectionSettings(
int v) { this->PopulateSelectionSettings = v; };
93 vtkSetStringMacro(PointIdArrayName);
94 vtkGetStringMacro(PointIdArrayName);
95 vtkSetStringMacro(CellIdArrayName);
96 vtkGetStringMacro(CellIdArrayName);
103 vtkSetStringMacro(ProcessIdArrayName);
104 vtkGetStringMacro(ProcessIdArrayName);
115 vtkSetStringMacro(CompositeIdArrayName);
116 vtkGetStringMacro(CompositeIdArrayName);
126 void AddShaderReplacement(
132 void ClearShaderReplacement(
142 vtkSetStringMacro(VertexShaderCode);
143 vtkGetStringMacro(VertexShaderCode);
144 vtkSetStringMacro(FragmentShaderCode);
145 vtkGetStringMacro(FragmentShaderCode);
146 vtkSetStringMacro(GeometryShaderCode);
147 vtkGetStringMacro(GeometryShaderCode);
156 std::vector<float> &buffData);
175 void GetCoincidentParameters(
vtkActor *actor,
float &factor,
float &
offset);
187 virtual void UpdateShaders(
193 virtual bool GetNeedToRebuildShaders(
199 virtual void BuildShaders(
200 std::map<vtkShader::Type, vtkShader *> shaders,
206 virtual void GetShaderTemplate(
207 std::map<vtkShader::Type, vtkShader *> shaders,
213 virtual void ReplaceShaderValues(
214 std::map<vtkShader::Type, vtkShader *> shaders,
221 virtual void ReplaceShaderColor(
222 std::map<vtkShader::Type, vtkShader *> shaders,
224 virtual void ReplaceShaderLight(
225 std::map<vtkShader::Type, vtkShader *> shaders,
227 virtual void ReplaceShaderTCoord(
228 std::map<vtkShader::Type, vtkShader *> shaders,
230 virtual void ReplaceShaderPicking(
231 std::map<vtkShader::Type, vtkShader *> shaders,
233 virtual void ReplaceShaderDepthPeeling(
234 std::map<vtkShader::Type, vtkShader *> shaders,
236 virtual void ReplaceShaderPrimID(
237 std::map<vtkShader::Type, vtkShader *> shaders,
239 virtual void ReplaceShaderNormal(
240 std::map<vtkShader::Type, vtkShader *> shaders,
242 virtual void ReplaceShaderClip(
243 std::map<vtkShader::Type, vtkShader *> shaders,
245 virtual void ReplaceShaderPositionVC(
246 std::map<vtkShader::Type, vtkShader *> shaders,
248 virtual void ReplaceShaderCoincidentOffset(
249 std::map<vtkShader::Type, vtkShader *> shaders,
325 void BuildCellTextures(
331 void AppendCellTextures(
336 std::vector<unsigned char> &colors,
337 std::vector<float> &normals,
a PolyDataMapper for the OpenGL library
vtkMatrix3x3 * TempMatrix3
represents an object (geometry & properties) in a rendered scene
vtkOpenGLBufferObject * CellScalarBuffer
std::string VBOBuildString
represent and manipulate 4x4 transformation matrices
Type
Available shader types.
#define VTKRENDERINGOPENGL2_EXPORT
vtkTimeStamp VBOBuildTime
record modification and/or execution time
vtkPolyData * CurrentInput
vtkTextureObject * CellScalarTexture
vtkOpenGLBufferObject * CellNormalBuffer
vtkTextureObject * CellNormalTexture
abstract specification for renderers
std::string OriginalValue
std::map< const ReplacementSpec, ReplacementValue > UserShaderReplacements
bool ForceTextureCoordinates
virtual bool GetIsOpaque()
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTimeStamp DepthPeelingChanged
vtkOpenGLVertexBufferObject * VBO
bool operator<(const ReplacementSpec &v1) const
std::vector< float > AppleBugPrimIDs
window superclass for vtkRenderWindow
int PopulateSelectionSettings
bool operator>(const ReplacementSpec &v1) const
a simple class to control print indentation
std::map< const vtkOpenGLHelper *, vtkTimeStamp > LightComplexityChanged
vtkMatrix4x4 * TempMatrix4
char * FragmentShaderCode
std::string IBOBuildString
char * GeometryShaderCode
virtual void ComputeBounds()
virtual bool GetSupportsSelection()
vtkOpenGLHelper * LastBoundBO
abstract class specifies interface to map data
void ShallowCopy(vtkAbstractMapper *m)
std::map< const vtkOpenGLHelper *, int > LastLightComplexity
abstracts an OpenGL texture object.
vtkTimeStamp SelectionStateChanged
map vtkPolyData to graphics primitives
object to represent cell connectivity
vtkShader::Type ShaderType
vtkOpenGLHelper TriStripsEdges
char * ProcessIdArrayName
static vtkPolyDataMapper * New()
vtkOpenGLHelper TriStrips
char * CompositeIdArrayName
represent and manipulate 3x3 transformation matrices
vtkOpenGLHelper TrisEdges
vtkOpenGLBufferObject * AppleBugPrimIDBuffer