14#ifndef GEOMVERTEXREADER_H
15#define GEOMVERTEXREADER_H
74 INLINE
size_t get_stride()
const;
75 INLINE
Thread *get_current_thread()
const;
77 INLINE
void set_force(
bool force);
78 INLINE
bool get_force()
const;
80 INLINE
bool set_column(
int column);
85 INLINE
bool has_column()
const;
86 INLINE
int get_array()
const;
89 INLINE
void set_row_unsafe(
int row);
90 INLINE
void set_row(
int row);
92 INLINE
int get_start_row()
const;
93 INLINE
int get_read_row()
const;
94 INLINE
bool is_at_end()
const;
96 INLINE
float get_data1f();
97 INLINE
const LVecBase2f &get_data2f();
98 INLINE
const LVecBase3f &get_data3f();
99 INLINE
const LVecBase4f &get_data4f();
100 INLINE LMatrix3f get_matrix3f();
101 INLINE LMatrix4f get_matrix4f();
103 INLINE
double get_data1d();
104 INLINE
const LVecBase2d &get_data2d();
105 INLINE
const LVecBase3d &get_data3d();
106 INLINE
const LVecBase4d &get_data4d();
107 INLINE LMatrix3d get_matrix3d();
108 INLINE LMatrix4d get_matrix4d();
110 INLINE PN_stdfloat get_data1();
111 INLINE
const LVecBase2 &get_data2();
112 INLINE
const LVecBase3 &get_data3();
113 INLINE
const LVecBase4 &get_data4();
114 INLINE LMatrix3 get_matrix3();
115 INLINE LMatrix4 get_matrix4();
117 INLINE
int get_data1i();
118 INLINE
const LVecBase2i &get_data2i();
119 INLINE
const LVecBase3i &get_data3i();
120 INLINE
const LVecBase4i &get_data4i();
122 void output(std::ostream &out)
const;
125 INLINE GeomVertexColumn::Packer *get_packer()
const;
130 INLINE
bool set_pointer(
int row);
131 INLINE
void quick_set_pointer(
int row);
132 INLINE
const unsigned char *inc_pointer();
147 GeomVertexColumn::Packer *_packer;
151 const unsigned char *_pointer_begin;
152 const unsigned char *_pointer_end;
153 const unsigned char *_pointer;
161 static const unsigned char empty_buffer[100];
This is a const pointer to an InternalName, and should be used in lieu of a CPT(InternalName) in func...
This data object is returned by GeomVertexArrayData::get_handle() or modify_handle().
This is the data for one array of a GeomVertexData structure.
This defines how a single column is interleaved within a vertex array stored within a Geom.
Encapsulates the data from a GeomVertexData, pre-fetched for one stage of the pipeline.
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
This object provides a high-level interface for quickly reading a sequence of numeric values from a v...
Encodes a string name in a hash table, mapping it to a pointer.
A thread; that is, a lightweight process.
get_current_thread
Returns a pointer to the currently-executing Thread object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.