Documentation for vtkBooleanTexture

vtkBooleanTexture - generate 2D texture map based on combinations of inside, outside, and on region boundary

Super Class: vtkStructuredPointsSource

Description:

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).

 

See Also:

vtkImplicitTextureCoords vtkThresholdTextureCoords

 

Methods:

void vtkBooleanTexture ()
static vtkBooleanTexture *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetXSize (int )
int GetXSize ()
void SetYSize (int )
int GetYSize ()
void SetThickness (int )
int GetThickness ()
void SetInIn (unsigned char ,unsigned char )
void SetInIn (unsigned char *)
unsigned char *GetInIn ()
void SetInOut (unsigned char ,unsigned char )
void SetInOut (unsigned char *)
unsigned char *GetInOut ()
void SetOutIn (unsigned char ,unsigned char )
void SetOutIn (unsigned char *)
unsigned char *GetOutIn ()
void SetOutOut (unsigned char ,unsigned char )
void SetOutOut (unsigned char *)
unsigned char *GetOutOut ()
void SetOnOn (unsigned char ,unsigned char )
void SetOnOn (unsigned char *)
unsigned char *GetOnOn ()
void SetOnIn (unsigned char ,unsigned char )
void SetOnIn (unsigned char *)
unsigned char *GetOnIn ()
void SetOnOut (unsigned char ,unsigned char )
void SetOnOut (unsigned char *)
unsigned char *GetOnOut ()
void SetInOn (unsigned char ,unsigned char )
void SetInOn (unsigned char *)
unsigned char *GetInOn ()
void SetOutOn (unsigned char ,unsigned char )
void SetOutOn (unsigned char *)
unsigned char *GetOutOn ()
void Execute ()

 

Detailed Method Descriptions:

Set the X texture map dimension.

void SetXSize (int )
int GetXSize ()

Set the Y texture map dimension.

void SetYSize (int )
int GetYSize ()

Set the thickness of the "on" region.

void SetThickness (int )
int GetThickness ()

Specify intensity/transparency for "in/in" region.

void SetInIn (unsigned char ,unsigned char )
void SetInIn (unsigned char *)
unsigned char *GetInIn ()

Specify intensity/transparency for "in/out" region.

void SetInOut (unsigned char ,unsigned char )
void SetInOut (unsigned char *)
unsigned char *GetInOut ()

Specify intensity/transparency for "out/in" region.

void SetOutIn (unsigned char ,unsigned char )
void SetOutIn (unsigned char *)
unsigned char *GetOutIn ()

Specify intensity/transparency for "out/out" region.

void SetOutOut (unsigned char ,unsigned char )
void SetOutOut (unsigned char *)
unsigned char *GetOutOut ()

Specify intensity/transparency for "on/on" region.

void SetOnOn (unsigned char ,unsigned char )
void SetOnOn (unsigned char *)
unsigned char *GetOnOn ()

Specify intensity/transparency for "on/in" region.

void SetOnIn (unsigned char ,unsigned char )
void SetOnIn (unsigned char *)
unsigned char *GetOnIn ()

Specify intensity/transparency for "on/out" region.

void SetOnOut (unsigned char ,unsigned char )
void SetOnOut (unsigned char *)
unsigned char *GetOnOut ()

Specify intensity/transparency for "in/on" region.

void SetInOn (unsigned char ,unsigned char )
void SetInOn (unsigned char *)
unsigned char *GetInOn ()

Specify intensity/transparency for "out/on" region.

void SetOutOn (unsigned char ,unsigned char )
void SetOutOn (unsigned char *)
unsigned char *GetOutOn ()