ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions
Kitware.VTK.vtkTexture Class Reference

vtkTexture - handles properties associated with a texture map More...

Inheritance diagram for Kitware.VTK.vtkTexture:
[legend]
Collaboration diagram for Kitware.VTK.vtkTexture:
[legend]

List of all members.

Public Types

enum  VTKTextureBlendingMode {
  VTK_TEXTURE_BLENDING_MODE_ADD = 3, VTK_TEXTURE_BLENDING_MODE_ADD_SIGNED = 4, VTK_TEXTURE_BLENDING_MODE_INTERPOLATE = 5, VTK_TEXTURE_BLENDING_MODE_MODULATE = 2,
  VTK_TEXTURE_BLENDING_MODE_NONE = 0, VTK_TEXTURE_BLENDING_MODE_REPLACE = 1, VTK_TEXTURE_BLENDING_MODE_SUBTRACT = 6
}
 Set a transform on the texture which allows one to scale, rotate and translate the texture. More...

Public Member Functions

 vtkTexture (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkTexture ()
 *Undocumented Block
virtual void EdgeClampOff ()
 Turn on/off the clamping of the texture map when the texture coords extend beyond the [0,1] range. Only used when Repeat is off, and edge clamping is supported by the graphics card.
virtual void EdgeClampOn ()
 Turn on/off the clamping of the texture map when the texture coords extend beyond the [0,1] range. Only used when Repeat is off, and edge clamping is supported by the graphics card.
virtual int GetBlendingMode ()
 Used to specify how the texture will blend its RGB and Alpha values with other textures and the fragment the texture is rendered upon.
virtual int GetEdgeClamp ()
 Turn on/off the clamping of the texture map when the texture coords extend beyond the [0,1] range. Only used when Repeat is off, and edge clamping is supported by the graphics card.
new vtkImageData GetInput ()
 Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables.
virtual int GetInterpolate ()
 Turn on/off linear interpolation of the texture map when rendering.
virtual vtkScalarsToColors GetLookupTable ()
 Specify the lookup table to convert scalars if necessary.
virtual int GetMapColorScalarsThroughLookupTable ()
 Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables.
virtual vtkUnsignedCharArray GetMappedScalars ()
 Get Mapped Scalars.
virtual bool GetPremultipliedAlpha ()
 Whether the texture colors are premultiplied by alpha. Initial value is false.
virtual int GetQuality ()
 Force texture quality to 16-bit or 32-bit. This might not be supported on all machines.
virtual int GetRepeat ()
 Turn on/off the repetition of the texture map when the texture coords extend beyond the [0,1] range.
virtual int GetRestrictPowerOf2ImageSmaller ()
 When the texture is forced to be a power of 2, the default behavior is for the "new" image's dimensions to be greater than or equal to with respects to the original. Setting RestrictPowerOf2ImageSmaller to be 1 (or ON) with force the new image's dimensions to be less than or equal to with respects to the original.
virtual vtkTransform GetTransform ()
 Set a transform on the texture which allows one to scale, rotate and translate the texture.
virtual void InterpolateOff ()
 Turn on/off linear interpolation of the texture map when rendering.
virtual void InterpolateOn ()
 Turn on/off linear interpolation of the texture map when rendering.
override int IsA (string type)
 *Undocumented Block
virtual int IsTranslucent ()
 Is this Texture Translucent? returns false (0) if the texture is either fully opaque or has only fully transparent pixels and fully opaque pixels and the Interpolate flag is turn off.
virtual void Load (vtkRenderer arg0)
 Abstract interface to renderer. Each concrete subclass of vtkTexture will load its data into graphics system in response to this method invocation.
virtual void MapColorScalarsThroughLookupTableOff ()
 Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables.
virtual void MapColorScalarsThroughLookupTableOn ()
 Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables.
IntPtr MapScalarsToColors (vtkDataArray scalars)
 Map scalar values into color scalars.
new vtkTexture NewInstance ()
 *Undocumented Block
virtual void PostRender (vtkRenderer arg0)
 Cleans up after the texture rendering to restore the state of the graphics context.
virtual void PremultipliedAlphaOff ()
 Whether the texture colors are premultiplied by alpha. Initial value is false.
virtual void PremultipliedAlphaOn ()
 Whether the texture colors are premultiplied by alpha. Initial value is false.
virtual void ReleaseGraphicsResources (vtkWindow arg0)
 Release any graphics resources that are being consumed by this texture. The parameter window could be used to determine which graphic resources to release.
virtual void Render (vtkRenderer ren)
 Renders a texture map. It first checks the object's modified time to make sure the texture maps Input is valid, then it invokes the Load() method.
virtual void RepeatOff ()
 Turn on/off the repetition of the texture map when the texture coords extend beyond the [0,1] range.
virtual void RepeatOn ()
 Turn on/off the repetition of the texture map when the texture coords extend beyond the [0,1] range.
virtual void RestrictPowerOf2ImageSmallerOff ()
 When the texture is forced to be a power of 2, the default behavior is for the "new" image's dimensions to be greater than or equal to with respects to the original. Setting RestrictPowerOf2ImageSmaller to be 1 (or ON) with force the new image's dimensions to be less than or equal to with respects to the original.
virtual void RestrictPowerOf2ImageSmallerOn ()
 When the texture is forced to be a power of 2, the default behavior is for the "new" image's dimensions to be greater than or equal to with respects to the original. Setting RestrictPowerOf2ImageSmaller to be 1 (or ON) with force the new image's dimensions to be less than or equal to with respects to the original.
virtual void SetBlendingMode (int _arg)
 Used to specify how the texture will blend its RGB and Alpha values with other textures and the fragment the texture is rendered upon.
virtual void SetEdgeClamp (int _arg)
 Turn on/off the clamping of the texture map when the texture coords extend beyond the [0,1] range. Only used when Repeat is off, and edge clamping is supported by the graphics card.
virtual void SetInterpolate (int _arg)
 Turn on/off linear interpolation of the texture map when rendering.
void SetLookupTable (vtkScalarsToColors arg0)
 Specify the lookup table to convert scalars if necessary.
virtual void SetMapColorScalarsThroughLookupTable (int _arg)
 Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables.
virtual void SetPremultipliedAlpha (bool _arg)
 Whether the texture colors are premultiplied by alpha. Initial value is false.
virtual void SetQuality (int _arg)
 Force texture quality to 16-bit or 32-bit. This might not be supported on all machines.
void SetQualityTo16Bit ()
 Force texture quality to 16-bit or 32-bit. This might not be supported on all machines.
void SetQualityTo32Bit ()
 Force texture quality to 16-bit or 32-bit. This might not be supported on all machines.
void SetQualityToDefault ()
 Force texture quality to 16-bit or 32-bit. This might not be supported on all machines.
virtual void SetRepeat (int _arg)
 Turn on/off the repetition of the texture map when the texture coords extend beyond the [0,1] range.
virtual void SetRestrictPowerOf2ImageSmaller (int _arg)
 When the texture is forced to be a power of 2, the default behavior is for the "new" image's dimensions to be greater than or equal to with respects to the original. Setting RestrictPowerOf2ImageSmaller to be 1 (or ON) with force the new image's dimensions to be less than or equal to with respects to the original.
void SetTransform (vtkTransform transform)
 Set a transform on the texture which allows one to scale, rotate and translate the texture.
- Public Member Functions inherited from Kitware.VTK.vtkImageAlgorithm
 vtkImageAlgorithm (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual void AddInput (vtkDataObject arg0)
 Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details.
virtual void AddInput (int arg0, vtkDataObject arg1)
 Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details.
vtkImageData GetImageDataInput (int port)
 this method is not recommended for use, but lots of old style filters use it
vtkDataObject GetInput (int port)
 this method is not recommended for use, but lots of old style filters use it
vtkImageData GetOutput ()
 Get the output data object for a port on this algorithm.
vtkImageData GetOutput (int arg0)
 Get the output data object for a port on this algorithm.
void SetInput (vtkDataObject arg0)
 Set an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::SetInputConnection(). These methods transform the input index to the input port index, not an index of a connection within a single port.
void SetInput (int arg0, vtkDataObject arg1)
 Set an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::SetInputConnection(). These methods transform the input index to the input port index, not an index of a connection within a single port.
virtual void SetOutput (vtkDataObject d)
 Get the output data object for a port on this algorithm.
- Public Member Functions inherited from Kitware.VTK.vtkAlgorithm
 vtkAlgorithm (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkAlgorithm ()
 *Undocumented Block
override void Register (vtkObjectBase o)
 Participate in garbage collection.
virtual void AbortExecuteOff ()
 Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
virtual void AbortExecuteOn ()
 Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
virtual void AddInputConnection (int port, vtkAlgorithmOutput input)
 Add a connection to the given input port index. See SetInputConnection() for details on input connections. This method is the complement to RemoveInputConnection() in that it adds only the connection specified without affecting other connections. Typical usage is.
virtual void AddInputConnection (vtkAlgorithmOutput input)
 Add a connection to the given input port index. See SetInputConnection() for details on input connections. This method is the complement to RemoveInputConnection() in that it adds only the connection specified without affecting other connections. Typical usage is.
virtual double ComputePriority ()
 Returns the priority of the piece described by the current update extent. The priority is a number between 0.0 and 1.0 with 0 meaning skippable (REQUEST_DATA not needed) and 1.0 meaning important.
void ConvertTotalInputToPortConnection (int ind, ref int port, ref int conn)
 Convenience routine to convert from a linear ordering of input connections to a port/connection pair.
virtual int GetAbortExecute ()
 Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
virtual uint GetErrorCode ()
 The error code contains a possible error that occured while reading or writing the file.
vtkExecutive GetExecutive ()
 Get this algorithm's executive. If it has none, a default executive will be created.
virtual vtkInformation GetInformation ()
 Set/Get the information object associated with this algorithm.
vtkInformation GetInputArrayInformation (int idx)
 Get the info object for the specified input array to this algorithm.
vtkAlgorithmOutput GetInputConnection (int port, int index)
 Get the algorithm output port connected to an input port.
vtkDataObject GetInputDataObject (int port, int connection)
 Get the data object that will contain the algorithm input for the given port and given connection.
vtkInformation GetInputPortInformation (int port)
 Get the information object associated with an input port. There is one input port per kind of input to the algorithm. Each input port tells executives what kind of data and downstream requests this algorithm can handle for that input.
int GetNumberOfInputConnections (int port)
 Get the number of inputs currently connected to a port.
int GetNumberOfInputPorts ()
 Get the number of input ports used by the algorithm.
int GetNumberOfOutputPorts ()
 Get the number of output ports provided by the algorithm.
vtkDataObject GetOutputDataObject (int port)
 Get the data object that will contain the algorithm output for the given port.
vtkAlgorithmOutput GetOutputPort (int index)
 Get a proxy object corresponding to the given output port of this algorithm. The proxy object can be passed to another algorithm's SetInputConnection(), AddInputConnection(), and RemoveInputConnection() methods to modify pipeline connectivity.
vtkAlgorithmOutput GetOutputPort ()
 Get a proxy object corresponding to the given output port of this algorithm. The proxy object can be passed to another algorithm's SetInputConnection(), AddInputConnection(), and RemoveInputConnection() methods to modify pipeline connectivity.
vtkInformation GetOutputPortInformation (int port)
 Get the information object associated with an output port. There is one output port per output from the algorithm. Each output port tells executives what kind of upstream requests this algorithm can handle for that output.
virtual double GetProgress ()
 Set/Get the execution progress of a process object.
virtual double GetProgressMaxValue ()
 Set/Get the execution progress of a process object.
virtual double GetProgressMinValue ()
 Set/Get the execution progress of a process object.
virtual string GetProgressText ()
 Set the current text message associated with the progress state. This may be used by a calling process/GUI. Note: Because SetProgressText() is called from inside RequestData() it does not modify the algorithm object. Algorithms are not allowed to modify themselves from inside RequestData().
virtual int GetReleaseDataFlag ()
 Turn release data flag on or off for all output ports.
int GetTotalNumberOfInputConnections ()
 Get the total number of inputs for this algorithm.
int HasExecutive ()
 Check whether this algorithm has an assigned executive. This will NOT create a default executive.
virtual int ModifyRequest (vtkInformation request, int when)
 This method gives the algorithm a chance to modify the contents of a request before or after (specified in the when argument) it is forwarded. The default implementation is empty. Returns 1 on success, 0 on failure. When can be either vtkExecutive::BeforeForward or vtkExecutive::AfterForward.
int ProcessRequest (vtkInformation request, vtkCollection inInfo, vtkInformationVector outInfo)
 Version of ProcessRequest() that is wrapped. This converts the collection to an array and calls the other version.
void ReleaseDataFlagOff ()
 Turn release data flag on or off for all output ports.
void ReleaseDataFlagOn ()
 Turn release data flag on or off for all output ports.
void RemoveAllInputs ()
 Remove all the input data.
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput input)
 Remove a connection from the given input port index. See SetInputConnection() for details on input connection. This method is the complement to AddInputConnection() in that it removes only the connection specified without affecting other connections. Typical usage is.
virtual void SetAbortExecute (int _arg)
 Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
virtual void SetExecutive (vtkExecutive executive)
 Set this algorithm's executive. This algorithm is removed from any executive to which it has previously been assigned and then assigned to the given executive.
virtual void SetInformation (vtkInformation arg0)
 Set/Get the information object associated with this algorithm.
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, string name)
 Set the input data arrays that this algorithm will process. Specifically the idx array that this algorithm will process (starting from 0) is the array on port, connection with the specified association and name or attribute type (such as SCALARS). The fieldAssociation refers to which field in the data object the array is stored. See vtkDataObject::FieldAssociations for detail.
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 Set the input data arrays that this algorithm will process. Specifically the idx array that this algorithm will process (starting from 0) is the array on port, connection with the specified association and name or attribute type (such as SCALARS). The fieldAssociation refers to which field in the data object the array is stored. See vtkDataObject::FieldAssociations for detail.
virtual void SetInputArrayToProcess (int idx, vtkInformation info)
 Set the input data arrays that this algorithm will process. Specifically the idx array that this algorithm will process (starting from 0) is the array on port, connection with the specified association and name or attribute type (such as SCALARS). The fieldAssociation refers to which field in the data object the array is stored. See vtkDataObject::FieldAssociations for detail.
virtual void SetInputArrayToProcess (int idx, int port, int connection, string fieldAssociation, string attributeTypeorName)
 String based versions of SetInputArrayToProcess(). Because fieldAssociation and fieldAttributeType are enums, they cannot be easily accessed from scripting language. These methods provides an easy and safe way of passing association and attribute type information. Field association is one of the following:
virtual void SetInputConnection (int port, vtkAlgorithmOutput input)
 Set the connection for the given input port index. Each input port of a filter has a specific purpose. A port may have zero or more connections and the required number is specified by each filter. Setting the connection with this method removes all other connections from the port. To add more than one connection use AddInputConnection().
virtual void SetInputConnection (vtkAlgorithmOutput input)
 Set the connection for the given input port index. Each input port of a filter has a specific purpose. A port may have zero or more connections and the required number is specified by each filter. Setting the connection with this method removes all other connections from the port. To add more than one connection use AddInputConnection().
virtual void SetProgress (double _arg)
 Set/Get the execution progress of a process object.
void SetProgressText (string ptext)
 Set the current text message associated with the progress state. This may be used by a calling process/GUI. Note: Because SetProgressText() is called from inside RequestData() it does not modify the algorithm object. Algorithms are not allowed to modify themselves from inside RequestData().
virtual void SetReleaseDataFlag (int arg0)
 Turn release data flag on or off for all output ports.
virtual void Update ()
 Bring this algorithm's outputs up-to-date.
int UpdateExtentIsEmpty (vtkDataObject output)
 This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0. The source uses this call to determine whether to call Execute.
int UpdateExtentIsEmpty (vtkInformation pinfo, int extentType)
 This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0. The source uses this call to determine whether to call Execute.
virtual void UpdateInformation ()
 Backward compatibility method to invoke UpdateInformation on executive.
void UpdateProgress (double amount)
 Update the progress of the process object. If a ProgressMethod exists, executes it. Then set the Progress ivar to amount. The parameter amount should range between (0,1).
virtual void UpdateWholeExtent ()
 Bring this algorithm's outputs up-to-date.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
virtual uint GetMTime ()
 Return this object's modified time.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
int GetReferenceCount ()
 Return the current reference count of this object.
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.)

Static Public Member Functions

static new vtkTexture New ()
 *Undocumented Block
static new int IsTypeOf (string type)
 *Undocumented Block
static new vtkTexture SafeDownCast (vtkObjectBase o)
 *Undocumented Block

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkTexture"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkImageAlgorithm
- Public Attributes inherited from Kitware.VTK.vtkAlgorithm
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "10vtkTexture"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkImageAlgorithm
- Static Public Attributes inherited from Kitware.VTK.vtkAlgorithm
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Static Private Member Functions

static vtkTexture ()
 Automatically generated type registration mechanics.

Detailed Description

vtkTexture - handles properties associated with a texture map

Description vtkTexture is an object that handles loading and binding of texture maps. It obtains its data from an input image data dataset type. Thus you can create visualization pipelines to read, process, and construct textures. Note that textures will only work if texture coordinates are also defined, and if the rendering system supports texture.

Instances of vtkTexture are associated with actors via the actor's SetTexture() method. Actors can share texture maps (this is encouraged to save memory resources.)


Member Enumeration Documentation

Set a transform on the texture which allows one to scale, rotate and translate the texture.

Enumerator:
VTK_TEXTURE_BLENDING_MODE_ADD 

enum member

VTK_TEXTURE_BLENDING_MODE_ADD_SIGNED 

enum member

VTK_TEXTURE_BLENDING_MODE_INTERPOLATE 

enum member

VTK_TEXTURE_BLENDING_MODE_MODULATE 

enum member

VTK_TEXTURE_BLENDING_MODE_NONE 

enum member

VTK_TEXTURE_BLENDING_MODE_REPLACE 

enum member

VTK_TEXTURE_BLENDING_MODE_SUBTRACT 

enum member


Constructor & Destructor Documentation

static Kitware.VTK.vtkTexture.vtkTexture ( )
staticprivate

Automatically generated type registration mechanics.

Kitware.VTK.vtkTexture.vtkTexture ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Kitware.VTK.vtkTexture.vtkTexture ( )

*Undocumented Block


Member Function Documentation

override void Kitware.VTK.vtkTexture.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkImageAlgorithm.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.

virtual void Kitware.VTK.vtkTexture.EdgeClampOff ( )
virtual

Turn on/off the clamping of the texture map when the texture coords extend beyond the [0,1] range. Only used when Repeat is off, and edge clamping is supported by the graphics card.

virtual void Kitware.VTK.vtkTexture.EdgeClampOn ( )
virtual

Turn on/off the clamping of the texture map when the texture coords extend beyond the [0,1] range. Only used when Repeat is off, and edge clamping is supported by the graphics card.

virtual int Kitware.VTK.vtkTexture.GetBlendingMode ( )
virtual

Used to specify how the texture will blend its RGB and Alpha values with other textures and the fragment the texture is rendered upon.

virtual int Kitware.VTK.vtkTexture.GetEdgeClamp ( )
virtual

Turn on/off the clamping of the texture map when the texture coords extend beyond the [0,1] range. Only used when Repeat is off, and edge clamping is supported by the graphics card.

new vtkImageData Kitware.VTK.vtkTexture.GetInput ( )

Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables.

Reimplemented from Kitware.VTK.vtkImageAlgorithm.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkTexture.GetInterpolate ( )
virtual

Turn on/off linear interpolation of the texture map when rendering.

virtual vtkScalarsToColors Kitware.VTK.vtkTexture.GetLookupTable ( )
virtual

Specify the lookup table to convert scalars if necessary.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkTexture.GetMapColorScalarsThroughLookupTable ( )
virtual

Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables.

virtual vtkUnsignedCharArray Kitware.VTK.vtkTexture.GetMappedScalars ( )
virtual

Get Mapped Scalars.

Here is the call graph for this function:

virtual bool Kitware.VTK.vtkTexture.GetPremultipliedAlpha ( )
virtual

Whether the texture colors are premultiplied by alpha. Initial value is false.

virtual int Kitware.VTK.vtkTexture.GetQuality ( )
virtual

Force texture quality to 16-bit or 32-bit. This might not be supported on all machines.

virtual int Kitware.VTK.vtkTexture.GetRepeat ( )
virtual

Turn on/off the repetition of the texture map when the texture coords extend beyond the [0,1] range.

virtual int Kitware.VTK.vtkTexture.GetRestrictPowerOf2ImageSmaller ( )
virtual

When the texture is forced to be a power of 2, the default behavior is for the "new" image's dimensions to be greater than or equal to with respects to the original. Setting RestrictPowerOf2ImageSmaller to be 1 (or ON) with force the new image's dimensions to be less than or equal to with respects to the original.

virtual vtkTransform Kitware.VTK.vtkTexture.GetTransform ( )
virtual

Set a transform on the texture which allows one to scale, rotate and translate the texture.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkTexture.InterpolateOff ( )
virtual

Turn on/off linear interpolation of the texture map when rendering.

virtual void Kitware.VTK.vtkTexture.InterpolateOn ( )
virtual

Turn on/off linear interpolation of the texture map when rendering.

override int Kitware.VTK.vtkTexture.IsA ( string  type)
virtual

*Undocumented Block

Reimplemented from Kitware.VTK.vtkImageAlgorithm.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.

virtual int Kitware.VTK.vtkTexture.IsTranslucent ( )
virtual

Is this Texture Translucent? returns false (0) if the texture is either fully opaque or has only fully transparent pixels and fully opaque pixels and the Interpolate flag is turn off.

static new int Kitware.VTK.vtkTexture.IsTypeOf ( string  type)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkImageAlgorithm.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.

virtual void Kitware.VTK.vtkTexture.Load ( vtkRenderer  arg0)
virtual

Abstract interface to renderer. Each concrete subclass of vtkTexture will load its data into graphics system in response to this method invocation.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.

virtual void Kitware.VTK.vtkTexture.MapColorScalarsThroughLookupTableOff ( )
virtual

Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables.

virtual void Kitware.VTK.vtkTexture.MapColorScalarsThroughLookupTableOn ( )
virtual

Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables.

IntPtr Kitware.VTK.vtkTexture.MapScalarsToColors ( vtkDataArray  scalars)

Map scalar values into color scalars.

static new vtkTexture Kitware.VTK.vtkTexture.New ( )
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkAlgorithm.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.

new vtkTexture Kitware.VTK.vtkTexture.NewInstance ( )

*Undocumented Block

Reimplemented from Kitware.VTK.vtkImageAlgorithm.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.

virtual void Kitware.VTK.vtkTexture.PostRender ( vtkRenderer  arg0)
virtual

Cleans up after the texture rendering to restore the state of the graphics context.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.

virtual void Kitware.VTK.vtkTexture.PremultipliedAlphaOff ( )
virtual

Whether the texture colors are premultiplied by alpha. Initial value is false.

virtual void Kitware.VTK.vtkTexture.PremultipliedAlphaOn ( )
virtual

Whether the texture colors are premultiplied by alpha. Initial value is false.

virtual void Kitware.VTK.vtkTexture.ReleaseGraphicsResources ( vtkWindow  arg0)
virtual

Release any graphics resources that are being consumed by this texture. The parameter window could be used to determine which graphic resources to release.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.

virtual void Kitware.VTK.vtkTexture.Render ( vtkRenderer  ren)
virtual

Renders a texture map. It first checks the object's modified time to make sure the texture maps Input is valid, then it invokes the Load() method.

virtual void Kitware.VTK.vtkTexture.RepeatOff ( )
virtual

Turn on/off the repetition of the texture map when the texture coords extend beyond the [0,1] range.

virtual void Kitware.VTK.vtkTexture.RepeatOn ( )
virtual

Turn on/off the repetition of the texture map when the texture coords extend beyond the [0,1] range.

virtual void Kitware.VTK.vtkTexture.RestrictPowerOf2ImageSmallerOff ( )
virtual

When the texture is forced to be a power of 2, the default behavior is for the "new" image's dimensions to be greater than or equal to with respects to the original. Setting RestrictPowerOf2ImageSmaller to be 1 (or ON) with force the new image's dimensions to be less than or equal to with respects to the original.

virtual void Kitware.VTK.vtkTexture.RestrictPowerOf2ImageSmallerOn ( )
virtual

When the texture is forced to be a power of 2, the default behavior is for the "new" image's dimensions to be greater than or equal to with respects to the original. Setting RestrictPowerOf2ImageSmaller to be 1 (or ON) with force the new image's dimensions to be less than or equal to with respects to the original.

static new vtkTexture Kitware.VTK.vtkTexture.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkImageAlgorithm.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkTexture.SetBlendingMode ( int  _arg)
virtual

Used to specify how the texture will blend its RGB and Alpha values with other textures and the fragment the texture is rendered upon.

virtual void Kitware.VTK.vtkTexture.SetEdgeClamp ( int  _arg)
virtual

Turn on/off the clamping of the texture map when the texture coords extend beyond the [0,1] range. Only used when Repeat is off, and edge clamping is supported by the graphics card.

virtual void Kitware.VTK.vtkTexture.SetInterpolate ( int  _arg)
virtual

Turn on/off linear interpolation of the texture map when rendering.

void Kitware.VTK.vtkTexture.SetLookupTable ( vtkScalarsToColors  arg0)

Specify the lookup table to convert scalars if necessary.

virtual void Kitware.VTK.vtkTexture.SetMapColorScalarsThroughLookupTable ( int  _arg)
virtual

Turn on/off the mapping of color scalars through the lookup table. The default is Off. If Off, unsigned char scalars will be used directly as texture. If On, scalars will be mapped through the lookup table to generate 4-component unsigned char scalars. This ivar does not affect other scalars like unsigned short, float, etc. These scalars are always mapped through lookup tables.

virtual void Kitware.VTK.vtkTexture.SetPremultipliedAlpha ( bool  _arg)
virtual

Whether the texture colors are premultiplied by alpha. Initial value is false.

virtual void Kitware.VTK.vtkTexture.SetQuality ( int  _arg)
virtual

Force texture quality to 16-bit or 32-bit. This might not be supported on all machines.

void Kitware.VTK.vtkTexture.SetQualityTo16Bit ( )

Force texture quality to 16-bit or 32-bit. This might not be supported on all machines.

void Kitware.VTK.vtkTexture.SetQualityTo32Bit ( )

Force texture quality to 16-bit or 32-bit. This might not be supported on all machines.

void Kitware.VTK.vtkTexture.SetQualityToDefault ( )

Force texture quality to 16-bit or 32-bit. This might not be supported on all machines.

virtual void Kitware.VTK.vtkTexture.SetRepeat ( int  _arg)
virtual

Turn on/off the repetition of the texture map when the texture coords extend beyond the [0,1] range.

virtual void Kitware.VTK.vtkTexture.SetRestrictPowerOf2ImageSmaller ( int  _arg)
virtual

When the texture is forced to be a power of 2, the default behavior is for the "new" image's dimensions to be greater than or equal to with respects to the original. Setting RestrictPowerOf2ImageSmaller to be 1 (or ON) with force the new image's dimensions to be less than or equal to with respects to the original.

void Kitware.VTK.vtkTexture.SetTransform ( vtkTransform  transform)

Set a transform on the texture which allows one to scale, rotate and translate the texture.


Member Data Documentation

new readonly string Kitware.VTK.vtkTexture.MRClassNameKey = "10vtkTexture"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkImageAlgorithm.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.

new const string Kitware.VTK.vtkTexture.MRFullTypeName = "Kitware.VTK.vtkTexture"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkImageAlgorithm.

Reimplemented in Kitware.VTK.vtkOpenGLTexture.


The documentation for this class was generated from the following file: