#include <vtkBooleanTexture.h>
Inheritance diagram for vtkBooleanTexture:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetXSize (int) |
virtual int | GetXSize () |
virtual void | SetYSize (int) |
virtual int | GetYSize () |
virtual void | SetThickness (int) |
virtual int | GetThickness () |
virtual void | SetInIn (unsigned char, unsigned char) |
void | SetInIn (unsigned char[2]) |
virtual unsigned char * | GetInIn () |
virtual void | GetInIn (unsigned char data[2]) |
virtual void | SetInOut (unsigned char, unsigned char) |
void | SetInOut (unsigned char[2]) |
virtual unsigned char * | GetInOut () |
virtual void | GetInOut (unsigned char data[2]) |
virtual void | SetOutIn (unsigned char, unsigned char) |
void | SetOutIn (unsigned char[2]) |
virtual unsigned char * | GetOutIn () |
virtual void | GetOutIn (unsigned char data[2]) |
virtual void | SetOutOut (unsigned char, unsigned char) |
void | SetOutOut (unsigned char[2]) |
virtual unsigned char * | GetOutOut () |
virtual void | GetOutOut (unsigned char data[2]) |
virtual void | SetOnOn (unsigned char, unsigned char) |
void | SetOnOn (unsigned char[2]) |
virtual unsigned char * | GetOnOn () |
virtual void | GetOnOn (unsigned char data[2]) |
virtual void | SetOnIn (unsigned char, unsigned char) |
void | SetOnIn (unsigned char[2]) |
virtual unsigned char * | GetOnIn () |
virtual void | GetOnIn (unsigned char data[2]) |
virtual void | SetOnOut (unsigned char, unsigned char) |
void | SetOnOut (unsigned char[2]) |
virtual unsigned char * | GetOnOut () |
virtual void | GetOnOut (unsigned char data[2]) |
virtual void | SetInOn (unsigned char, unsigned char) |
void | SetInOn (unsigned char[2]) |
virtual unsigned char * | GetInOn () |
virtual void | GetInOn (unsigned char data[2]) |
virtual void | SetOutOn (unsigned char, unsigned char) |
void | SetOutOn (unsigned char[2]) |
virtual unsigned char * | GetOutOn () |
virtual void | GetOutOn (unsigned char data[2]) |
Static Public Methods | |
vtkBooleanTexture * | New () |
int | IsTypeOf (const char *type) |
vtkBooleanTexture * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkBooleanTexture () | |
~vtkBooleanTexture () | |
void | Execute () |
Protected Attributes | |
int | XSize |
int | YSize |
int | Thickness |
unsigned char | InIn [2] |
unsigned char | InOut [2] |
unsigned char | OutIn [2] |
unsigned char | OutOut [2] |
unsigned char | OnOn [2] |
unsigned char | OnIn [2] |
unsigned char | OnOut [2] |
unsigned char | InOn [2] |
unsigned char | OutOn [2] |
vtkBooleanTexture is a filter to generate a 2D texture map based on combinations of inside, outside, and on region boundary. The "region" is implicitly represented via 2D texture coordinates. These texture coordinates are normally generated using a filter like vtkImplicitTextureCoords, which generates the texture coordinates for any implicit function.
vtkBooleanTexture generates the map according to the s-t texture coordinates plus the notion of being in, on, or outside of a region. An in region is when the texture coordinate is between (0,0.5-thickness/2). An out region is where the texture coordinate is (0.5+thickness/2). An on region is between (0.5-thickness/2,0.5+thickness/2). The combination in, on, and out for each of the s-t texture coordinates results in 16 possible combinations (see text). For each combination, a different value of intensity and transparency can be assigned. To assign maximum intensity and/or opacity use the value 255. A minimum value of 0 results in a black region (for intensity) and a fully transparent region (for transparency).
Definition at line 79 of file vtkBooleanTexture.h.
|
|
|
Definition at line 161 of file vtkBooleanTexture.h. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkStructuredPointsSource. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkStructuredPointsSource. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkStructuredPointsSource. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkStructuredPointsSource. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkStructuredPointsSource. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkSource. |
|
Set the X texture map dimension. |
|
Set the X texture map dimension. |
|
Set the Y texture map dimension. |
|
Set the Y texture map dimension. |
|
Set the thickness of the "on" region. |
|
Set the thickness of the "on" region. |
|
Specify intensity/transparency for "in/in" region. |
|
Specify intensity/transparency for "in/in" region. |
|
Specify intensity/transparency for "in/in" region. |
|
Specify intensity/transparency for "in/in" region. |
|
Specify intensity/transparency for "in/out" region. |
|
Specify intensity/transparency for "in/out" region. |
|
Specify intensity/transparency for "in/out" region. |
|
Specify intensity/transparency for "in/out" region. |
|
Specify intensity/transparency for "out/in" region. |
|
Specify intensity/transparency for "out/in" region. |
|
Specify intensity/transparency for "out/in" region. |
|
Specify intensity/transparency for "out/in" region. |
|
Specify intensity/transparency for "out/out" region. |
|
Specify intensity/transparency for "out/out" region. |
|
Specify intensity/transparency for "out/out" region. |
|
Specify intensity/transparency for "out/out" region. |
|
Specify intensity/transparency for "on/on" region. |
|
Specify intensity/transparency for "on/on" region. |
|
Specify intensity/transparency for "on/on" region. |
|
Specify intensity/transparency for "on/on" region. |
|
Specify intensity/transparency for "on/in" region. |
|
Specify intensity/transparency for "on/in" region. |
|
Specify intensity/transparency for "on/in" region. |
|
Specify intensity/transparency for "on/in" region. |
|
Specify intensity/transparency for "on/out" region. |
|
Specify intensity/transparency for "on/out" region. |
|
Specify intensity/transparency for "on/out" region. |
|
Specify intensity/transparency for "on/out" region. |
|
Specify intensity/transparency for "in/on" region. |
|
Specify intensity/transparency for "in/on" region. |
|
Specify intensity/transparency for "in/on" region. |
|
Specify intensity/transparency for "in/on" region. |
|
Specify intensity/transparency for "out/on" region. |
|
Specify intensity/transparency for "out/on" region. |
|
Specify intensity/transparency for "out/on" region. |
|
Specify intensity/transparency for "out/on" region. |
|
This method is the old style execute method Reimplemented from vtkSource. |
|
Definition at line 165 of file vtkBooleanTexture.h. |
|
Definition at line 166 of file vtkBooleanTexture.h. |
|
Definition at line 168 of file vtkBooleanTexture.h. |
|
Definition at line 169 of file vtkBooleanTexture.h. |
|
Definition at line 170 of file vtkBooleanTexture.h. |
|
Definition at line 171 of file vtkBooleanTexture.h. |
|
Definition at line 172 of file vtkBooleanTexture.h. |
|
Definition at line 173 of file vtkBooleanTexture.h. |
|
Definition at line 174 of file vtkBooleanTexture.h. |
|
Definition at line 175 of file vtkBooleanTexture.h. |
|
Definition at line 176 of file vtkBooleanTexture.h. |
|
Definition at line 177 of file vtkBooleanTexture.h. |