Virtual void vtkProperty::SetAmbientColor 1.0 is totally opaque and 0.0 is completely transparent. Virtual float vtkProperty::GetSpecularPower Virtual void vtkProperty::SetSpecularPower Set/Get the specular lighting coefficient. Set/Get the diffuse lighting coefficient. Set/Get the ambient lighting coefficient. This is basically a quick overall color setting method.ĭefinition at line 126 of file vtkProperty.h. Has the side effect of setting the ambient diffuse and specular colors as well. References Representation, VTK_POINTS, and VTK_WIREFRAME. Void vtkProperty::SetRepresentationToSurfaceĭefinition at line 117 of file vtkProperty.h.Ĭhar * vtkProperty::GetRepresentationAsStringĭefinition at line 293 of file vtkProperty.h. Void vtkProperty::SetRepresentationToWireframeĭefinition at line 115 of file vtkProperty.h. Void vtkProperty::SetRepresentationToPointsĭefinition at line 114 of file vtkProperty.h. Virtual int vtkProperty::GetRepresentation Virtual void vtkProperty::SetRepresentationĬontrol the surface geometry representation for the object. References Interpolation, VTK_FLAT, and VTK_GOURAUD. Return the method of shading as a descriptive character string.ĭefinition at line 275 of file vtkProperty.h. Void vtkProperty::SetInterpolationToPhongĭefinition at line 106 of file vtkProperty.h.Ĭhar * vtkProperty::GetInterpolationAsString Void vtkProperty::SetInterpolationToGouraudĭefinition at line 105 of file vtkProperty.h. Virtual int vtkProperty::GetInterpolationĭefinition at line 104 of file vtkProperty.h. Set the shading interpolation method for an object. Virtual void vtkProperty::SetInterpolation Reimplemented in vtkMesaProperty, and vtkOpenGLProperty.ĭefinition at line 98 of file vtkProperty.h. Other properties such as Representation, Culling are specified by the Property. Note that only colors and opacity are used for backface properties. TwoSidedLighting must be turned off to see any backface properties. This method renders the property as a backface property. This method includes the invoking actor as an argument which can be used by property devices that require the actor.ĭefinition at line 91 of file vtkProperty.h. This is actually handled by a subclass of vtkProperty, which is created automatically. This method causes the property to set up whatever is required for its instance variables. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.Ĭonstruct object with object color, ambient color, diffuse color, specular color, and edge color white ambient coefficient=0 diffuse coefficient=0 specular coefficient=0 specular power=1 Gouraud shading and surface representation. Methods invoked by print to print information about the object including superclasses. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Return 1 if this class is the same type of (or a subclass of) the named class. Return 1 if this class type is the same type of (or a subclass of) the named class. Virtual const char* vtkProperty::GetClassName Reimplemented in vtkRIBProperty, vtkMesaProperty, and vtkOpenGLProperty.ĭefinition at line 73 of file vtkProperty.h.ĭefinition at line 248 of file vtkProperty.h. Typedef vtkObject vtkProperty::Superclass PrintSelf (ostream &os, vtkIndent indent)īackfaceRender ( vtkActor *, vtkRenderer *) cxx ( /Rendering/vtkProperty.cxx) Examples: vtkProperty (Examples) Tests: vtkProperty (Tests)ĭefinition at line 70 of file vtkProperty.h. Martin, Ken CVS contributions (if > 5%):.See also: vtkActor vtkPropertyDevice Created by: Also, some special graphics features like backface properties can be set and manipulated with this object. The primary properties that can be set are colors (overall, ambient, diffuse, specular, and edge color) specular power opacity of the object the representation of the object (points, wireframe, or surface) and the shading method to be used (flat, Gouraud, and Phong). VtkProperty is an object that represents lighting and other surface properties of a geometric object. Represent surface properties of a geometric object Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related PagesĬollaboration diagram for vtkProperty:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |