105 INLINE
void GeomVertexRewriter::
107 GeomVertexWriter::operator = (copy);
108 GeomVertexReader::operator = (copy);
116 INLINE GeomVertexRewriter::
117 ~GeomVertexRewriter() {
bool is_at_end() const
Returns true if the reader or writer is currently at the end of the list of vertices, false otherwise.
This object provides a high-level interface for quickly writing a sequence of numeric values from a v...
This is a const pointer to an InternalName, and should be used in lieu of a CPT(InternalName) in func...
const GeomVertexArrayData * get_array_data() const
Returns the particular array object that the reader is currently processing.
bool set_column(int column)
Sets up the reader to use the nth data type of the GeomVertexFormat, numbering from 0...
void clear()
Resets the GeomVertexWriter to the initial state.
int get_array() const
Returns the array index containing the data type that the writer is working on.
const GeomVertexColumn * get_column() const
Returns the description of the data type that the reader is working on.
size_t get_stride() const
Returns the per-row stride (bytes between consecutive rows) of the underlying vertex array...
GeomVertexArrayDataHandle * get_array_handle() const
Returns the write handle to the array object that the rewriter is currently processing.
This data object is returned by GeomVertexArrayData::get_handle() or modify_handle().
size_t get_stride() const
Returns the per-row stride (bytes between consecutive rows) of the underlying vertex array...
const GeomVertexData * get_vertex_data() const
Returns the vertex data object that the reader is processing.
bool set_column(int column)
Sets up the rewriter to use the nth data type of the GeomVertexFormat, numbering from 0...
This defines how a single column is interleaved within a vertex array stored within a Geom...
GeomVertexArrayDataHandle * get_array_handle() const
Returns the write handle to the array object that the writer is currently processing.
bool is_at_end() const
Returns true if the writer is currently at the end of the list of vertices, false otherwise...
GeomVertexArrayData * get_array_data() const
Returns the particular array object that the rewriter is currently processing.
void set_row_unsafe(int row)
Sets the start row to the indicated value, without internal checks.
Thread * get_current_thread() const
Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this ob...
GeomVertexRewriter(Thread *current_thread=Thread::get_current_thread())
Constructs an invalid GeomVertexRewriter.
size_t get_stride() const
Returns the per-row stride (bytes between consecutive rows) of the underlying vertex array...
int get_array() const
Returns the array index containing the data type that the rewriter is working on. ...
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
Thread * get_current_thread() const
Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this ob...
void clear()
Resets the GeomVertexRewriter to the initial state.
void set_row(int row)
Sets the start row to the indicated value.
int get_array() const
Returns the array index containing the data type that the reader is working on.
bool has_column() const
Returns true if a valid data type has been successfully set, or false if the data type does not exist...
bool has_column() const
Returns true if a valid data type has been successfully set, or false if the data type does not exist...
A thread; that is, a lightweight process.
Thread * get_current_thread() const
Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this ob...
This object provides a high-level interface for quickly reading a sequence of numeric values from a v...
bool is_at_end() const
Returns true if the reader is currently at the end of the list of vertices, false otherwise...
GeomVertexArrayData * get_array_data() const
Returns the particular array object that the writer is currently processing.
bool set_column(int column)
Sets up the writer to use the nth data type of the GeomVertexFormat, numbering from 0...
void set_row_unsafe(int row)
Sets the start row to the indicated value, without internal checks.
int get_start_row() const
Returns the row index at which the rewriter started.
void set_row(int row)
Sets the start row to the indicated value.
GeomVertexData * get_vertex_data() const
Returns the vertex data object that the writer is processing.
void clear()
Resets the GeomVertexReader to the initial state.
GeomVertexData * get_vertex_data() const
Returns the vertex data object that the rewriter is processing.
const GeomVertexColumn * get_column() const
Returns the description of the data type that the rewriter is working on.
int get_start_row() const
Returns the row index at which the reader started.
GeomVertexWriter(Thread *current_thread=Thread::get_current_thread())
Constructs an invalid GeomVertexWriter.
int get_start_row() const
Returns the row index at which the writer started.
This object provides the functionality of both a GeomVertexReader and a GeomVertexWriter, combined together into one convenient package.
This is the data for one array of a GeomVertexData structure.
void set_row_unsafe(int row)
Sets the start row to the indicated value, without internal checks.
const GeomVertexColumn * get_column() const
Returns the description of the data type that the writer is working on.
GeomVertexReader(Thread *current_thread=Thread::get_current_thread())
Constructs an invalid GeomVertexReader.
void set_row(int row)
Sets the start, write, and write index to the indicated value.